{"version":"1.0","type":"rich","title":"9.-Loading Data with React and D3","description":"This example demonstrates how to load and summarize a CSV dataset in a React application using D3 utilities. It fetches named CSS color data from a GitHub gist via `d3.csv` and stores the parsed rows in React state with the `useState` and `useEffect` hooks. While the data loads, the app displays a \"Loading...\" message; once received, it uses the `message` function to report the dataset’s size in kilobytes (via `d3.csvFormat`), row count, and column count in a large monospace `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d1f6a46e319a4083a5edf8ebe1599565?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}