{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example renders the CSS named color dataset as a circular pie chart, with each color represented by a slice whose fill matches its hex value. The React component uses the `useState` and `useEffect` hooks to asynchronously load the CSV via `d3.csv`, then maps each row to an SVG `<path>` element. The arcs are computed manually using `d3.arc` with start and end angles derived from the data index, and rendered inside a centered `<g>` transform within an SVG canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ba764017064047bd8b073742b7dc2492?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}