{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates how to load and summarize a CSV dataset using React and D3. The app fetches a list of CSS named colors via `d3.csv` inside a `useEffect` hook, then conditionally renders either a loading message or a text summary. The summary displays the data size in kilobytes, row count, and column count, computed with `d3.csvFormat`. The visualization uses React state and hooks to manage the asynchronous data loading, while the final output is plain text rendered in a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/566f6b48100245e7a9cc9f985b4b41af?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}