Pie chart
✓ Published0🌍 Public
This interactive pie chart, built with D3.js, visualizes the regional distribution of apple and orange counts. A radio-button form lets the viewer toggle between the two datasets, triggering a smooth animated transition of the chart's arcs. The visualization includes a legend with colored dots and labels to identify each region. It uses D3's `pie`, `arc`, and `transition.attrTween` APIs to render the SVG and animate the changes.
AI-generated descriptionMaking a pie chart based on: https://bl.ocks.org/adamjanes/5e53cfa2ef3d3f05828020315a3ba18c/22619fa86de2045b6eeb4060e747c5076569ec47
MIT Licensed