{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize CSS named colors data using React state and D3 utilities. The app fetches a CSV file via `d3.csv` and stores the parsed data in React’s `useState` hook, triggered by `useEffect`. While loading, it displays “Loading...”, then renders a `<pre>` element with a text summary generated by a custom `message` function, which uses `d3.csvFormat` to compute the data size in kilobytes, row count, and column count. The visualization is purely textual, showcasing the integration of D3’s data-loading and formatting capabilities within a React component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1e956cb67c9749c0a5ec71201c2cb62e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}