{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to integrate D3's data-loading utilities with React's state management. It fetches a CSV file containing CSS named colors from a GitHub gist, then displays a summary of the loaded data. The visualization renders a text message showing the file size in kilobytes, row count, and column count. The code uses React's `useState` and `useEffect` hooks, along with D3's `csv` function for parsing and `csvFormat` for calculating file size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a7b84690a7e44f52b9ac3bf88c3630e5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}