{"version":"1.0","type":"rich","title":"Loading data with react and d3","description":"This example demonstrates how to load and summarize CSV data using React and D3. The app fetches a named colors dataset from a GitHub gist using D3’s `csv` function, then displays the file size in kilobytes, row count, and column count in a large `<pre>` tag. While data is loading, the text shows “Loading...”. The code uses React hooks like `useState` and `useEffect` to manage asynchronous data fetching and rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ab682c9b02364a4faba041e4b9a79126?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}