{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"A React component loads CSS named color data from a CSV URL using D3’s `d3.csv` and stores it in state via `useState` and `useEffect`. The app displays a text summary generated from the parsed data, showing file size in kilobytes, row count, and column count using `d3.csvFormat` and array properties. Before the data arrives, the view shows a loading message. The example relies on React 16.9, D3 v7, and a plain `<pre>` element for output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ca5f671999ed43b989f5ec5b8646e620?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}