{"version":"1.0","type":"rich","title":"Pie Chart Update, II (V5)","description":"A donut chart displays apple or orange counts by region, toggled via radio buttons. On selection, the chart animates between datasets using `d3.pie` to compute arc angles and `d3.arc` for path geometry. Transitions rely on `transition.attrTween` with an interpolator stored in each path’s `_current` property, while new arcs enter with a fade-in stroke. The SVG is centered with a `g` transform, and colors come from `d3.scaleOrdinal`. Data loads from `data.json` via `d3.json`, with counts coerced to numbers before rendering.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5e53cfa2ef3d3f05828020315a3ba18c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}