{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how React state manages data loaded asynchronously with D3. It fetches a CSV file of CSS named colors from a GitHub gist using `d3.csv` and stores the result in state via `useState` and `useEffect`. Once loaded, the app displays a text summary of the dataset, including file size in kilobytes, row count, and column count, computed with `d3.csvFormat`. While loading, it shows a “loading…” placeholder. The visualization is purely textual, highlighting the integration of D3’s data-loading utilities with React’s component life cycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d3a2abb4ed14308a2d30244e920dcc5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}