{"version":"1.0","type":"rich","title":"Loading data with React & D3","description":"This visualization displays a donut chart of CSS named colors, with each slice representing a single color from a CSV dataset loaded from a GitHub gist. The React component uses the `useState` and `useEffect` hooks to asynchronously fetch the data with D3's `csv` function, then renders an SVG with D3's `pie` and `arc` generators. Each color's hex value fills its corresponding pie slice, creating a full circular spectrum.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9aa1a05442bd499abc0e3cbceed89030?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}