Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
NNaveenaS12
Last edited Aug 15, 2020
Created on Aug 12, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes