{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how React and D3 can work together to load and summarize a CSV dataset. It fetches a list of CSS named colors from a GitHub gist using D3’s `d3.csv` utility, storing the parsed data in React state via the `useState` and `useEffect` hooks. While the data loads, it displays a loading message; once available, it shows the file size in kilobytes, row count, and column count, computed with `d3.csvFormat`. The visualization is minimal—just text in a `<pre>` element—but clearly illustrates the data-loading workflow.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/430713809d93458d9b5f3c2613805669?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}