{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and display a summary of CSS named colors data using React and D3. It fetches a CSV file from a GitHub gist via D3’s `csv` utility, then stores the parsed dataset in React state with the `useState` and `useEffect` hooks. While the data loads, the interface shows a “Loading…” message. Once available, the component renders a plain-text summary—computed with `d3.csvFormat`—reporting the dataset’s size in kilobytes, row count, and column count, all displayed in a large monospace `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/87a83e71ff7c4307a9e5d21b49bf7d9f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}