{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example shows how React state manages asynchronous data loading from a CSV file of CSS color names. The app displays a text summary indicating the file size in kilobytes, row count, and column count. Using React’s `useState` and `useEffect` hooks, it calls `d3.csv` to fetch the remote dataset and stores the parsed result in state. While loading, the interface shows “Loading…”; once resolved, it passes the data to a helper function that computes the statistics using `d3.csvFormat`. The visualization renders as plain text within a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4db02a25b13f4ec680737812a59196cd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}