{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize a dataset of CSS named colors using React state and D3. The app fetches CSV data via `d3.csv` and stores it with the `useState` hook, displaying a loading message until the data arrives. Once loaded, `d3.csvFormat` calculates the file size in kilobytes, while the code reports the total row and column counts. Rendered as SVG, the visualization uses React’s `useEffect` to trigger the asynchronous data fetch, showcasing a simple integration between React’s component lifecycle and D3’s data-loading utilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b8898f342383467885a97d272eb0fde3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}