Pie Chart
✓ Published0🌍 Public
This pie chart displays country population data from a TSV file, with radio buttons for selecting different indicators. It uses d3.pie and d3.arc to compute and draw the SVG arc paths, with an animated transition that interpolates the fill color via transition.attrTween and adjusts the inner radius. The chart is built with React, leveraging d3.scaleOrdinal with schemeTableau10 for color scaling, and d3.nest to group entries by indicator.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed