{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize a CSV dataset using D3 and React. It fetches a list of CSS named colors from a GitHub gist via `d3.csv`, then stores the parsed result in React state with the `useState` and `useEffect` hooks. While the data loads, the app displays “Loading...”; once ready, it prints a text summary generated from the data, showing file size in kilobytes, row count, and column count using `d3.csvFormat` and the data’s `columns` property. The visualization is purely textual, rendered inside a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/75ab6012101c49d3ac769534f0474d19?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}