{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example shows how React state and D3 utilities work together to load and summarize a dataset of CSS named colors. The application displays a text message reporting the dataset’s size in kilobytes, row count, and column count once the data arrives, or a “Loading…” placeholder before that. The code uses the `useState` and `useEffect` hooks to manage the asynchronous fetch, while `d3.csv` retrieves the data from a GitHub gist URL. React renders the message as SVG text, and `d3.csvFormat` calculates the byte size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8a992f9ee1fc41d4a866bdbd40f9b817?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}