{"version":"1.0","type":"rich","title":"Loading Data With React & D3","description":"This example demonstrates how to load and summarize a CSV dataset using React state and D3 utilities. The app fetches CSS named colors from a GitHub gist via `d3.csv`, stores the parsed result in React’s `useState` hook, and displays its size, row count, and column count using `d3.csvFormat`. While loading, it renders a simple “Loading…” message. The visualization relies on React’s `useEffect` for the asynchronous data fetch and ReactDOM to mount the component, with D3 v6 providing the CSV parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8d88af3d6e19452eabd43caaac821f9e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}