{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"A donut chart of CSS named colors loads and renders as a circular spectrum of 148 colored arcs. The example demonstrates asynchronous data loading with React hooks and D3. It uses `useState` and `useEffect` to fetch a CSV file via `d3.csv`, then maps each row to an arc via `d3.pie` and `d3.arc`. Each path is filled with the row’s ’RGB hex value’ and rendered in an SVG. React 17 manages the component lifecycle while D3 v6 handles the data parsing and geometry.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/34697be0642649d3ba02c29885b9a35c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}