{"version":"1.0","type":"rich","title":"Loading Data with react & D3","description":"This example displays a text summary of a CSV dataset’s size and structure in a large, full-screen `<pre>` element, updating after the data finishes loading. It uses React hooks (`useState`, `useEffect`) to manage the asynchronous data fetch, while `d3.csv` loads the CSS named color data from a GitHub gist URL. The `Message.js` utility computes the file size in kilobytes, row count, and column count using `d3.csvFormat`, then renders the result with React DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ddc90fcb016d4bfbb75aecd33c654621?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}