{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to load and summarize CSV data asynchronously using React and D3. It fetches the CSS named colors dataset from a GitHub gist via D3's `csv` function, storing the result in React state with the `useState` and `useEffect` hooks. The rendered view displays a plain-text summary of the loaded data, including size in kilobytes, row count, and column count, calculated using `d3.csvFormat`. Until the data arrives, a “loading” message appears.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/83bcfa06267c40f1a79dc4a87864725c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}