{"version":"1.0","type":"rich","title":"Loading data with React & d3","description":"This example demonstrates how to load external data in a React application using D3 utilities and manage the resulting state with React hooks. The app fetches a CSV file of CSS named colors from a GitHub gist using `d3.csv`, stores the parsed data via `useState`, and displays summary statistics with `d3.csvFormat`. While loading, it renders “Loading…” before showing the file size, row count, and column count. The visualization uses SVG rendering and combines React’s `useEffect` for data fetching with D3’s parsing capabilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cf1d5cfb4fcd430a8f14d697b9112b7a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}