Skip to main content
100%

Fork 2 of Pie chart

✓ Published0🌍 Public
Ppavankalyan1507
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Fork of Pie chart

This visualization displays a pie chart of the top 10 countries by population in 2022, with each slice labeled with its population value in thousands and accompanied by a color-coded legend showing country names and corresponding figures. It uses d3.csv to load population data from a gist URL, then constructs the chart with d3.pie, d3.arc, and d3.scaleOrdinal. The rendering relies on SVG elements generated through D3 v5 selection and data-join methods, with colors, text labels, and legend items all created inside a single SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes