{"version":"1.0","type":"rich","title":"Rendering Data with React and D3","description":"This example visualizes named CSS colors as a colorful donut chart. Each color is represented as a slice of a pie, with the fill matching the color’s own RGB hex value. The code uses React hooks (`useState` and `useEffect`) to load data from a CSV file via `d3.csv`, then renders SVG paths with `d3.arc` and `d3.pie`. React manages the component state and DOM updates, while D3 handles the data loading and geometry calculations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8af3a307747744138e2ac6546fe594f6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}