{"version":"1.0","type":"rich","title":"Pie chart using data loaded with React and D3","description":"This example displays a pie chart where each slice represents a named CSS color from a dataset loaded via `d3.csv`. The chart renders as SVG using React components, with `d3.pie()` computing the arc angles and `d3.arc()` generating the path shapes. React state manages the asynchronous data loading, and each slice’s fill color directly uses the `RGB hex value` from the CSV data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f04eaf9344a54860bf7d12532f6e9e12?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}