{"version":"1.0","type":"rich","title":"Rendering PIE data with React","description":"This example renders a pie chart from CSV data using React and D3 v6, displaying vehicle cylinder counts as colored SVG arcs. The app fetches data from a GitHub gist via `d3.csv`, then uses D3’s `pie()` generator to compute arc angles and `arc()` to create the path geometry. Each slice is filled with a color from `schemeSet3` and rendered as a React `<path>` element inside an SVG group centered on the viewport. The visualization updates reactively when data loads, showing a “Loading…” message beforehand.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4c8dc566fe83431ab8697548fc759ef7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}