{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example shows how React state and D3 utilities work together to load and summarize a remote CSV dataset. The app fetches CSS named colors data from a GitHub gist URL using D3’s `csv` method, then stores the parsed result in React’s `useState` hook via `useEffect`. While loading, it displays “Loading…”, and once the data arrives, it renders a text summary computed by a custom `message` function that uses `d3.csvFormat` to report the dataset size in kilobytes, row count, and column count. The visualization relies on React 16.9 and D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3f2526b23e5f4d30b6b42cff93d37f57?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}