{"version":"1.0","type":"rich","title":"Visualisng Data with React and D3 - Pie","description":"A pie chart displays categorical data as colored wedges, with each slice representing a row from a CSS named colors dataset loaded via `d3.csv`. The React component uses the `useState` and `useEffect` hooks to fetch the data, then renders an SVG with `d3.pie()` to compute angles and `d3.arc()` to generate each path’s geometry. All slices have equal weight, and the fill color comes directly from the dataset’s `RGB hex value` field.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7faa593618574506b27101696fcabff2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}