{"version":"1.0","type":"rich","title":"Rendering data with react","description":"An interactive donut chart renders a dataset of CSS named colors fetched as CSV via React’s `useEffect` hook and `d3.csv`. Each color is represented as a slice using `d3.pie` and `d3.arc`, with the slice’s fill set to its corresponding RGB hex value. The React component manages loading state and maps the pie-arc data to SVG `<path>` elements, creating a full-circle visualization where every color appears once with no gaps. ReactDOM mounts the component into the page.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/de554cee046844a8a909abbc2c8f6073?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}