{"version":"1.0","type":"rich","title":"Pie Chart Update, II (V5)","description":"A donut chart displays five proportional segments, with radio buttons toggling between apple and orange datasets. The code loads tab-separated data via `d3.tsv`, builds arcs with `d3.arc`, and animates value changes using `transition.attrTween` with an in-place `_current` angle interpolator. D3 v5’s `d3.pie` recomputes segment angles on selection change, while SVG paths redraw smoothly over 750 milliseconds.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-53eedf0b915fd8b20f04fd08bc24ff00?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}