Stylized Donut Chart Population
✓ Published1🌍 Public
This stylized donut chart visualizes the top 10 most populous countries as proportions of a circular ring, with each slice labeled by its population value. Built with React and D3 v5, it uses the `arc` generator from d3-shape to compute slice geometries based on population percentages, while data comes from the United Nations World Population Prospects 2019. The chart renders as SVG, applying a distinct color to each slice and positioning text labels with trigonometric calculations derived from the starting angle of each arc.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed