Skip to main content
100%

Pie chart_world population

✓ Published0🌍 Public
VVarshithMurakonda@my.unt.edu
Last edited Apr 9, 2025
Created on Apr 9, 2025
Forked from Hello VizHub

This D3.js v7 example visualizes world population by continent as a pie chart, with each slice labeled and a color-coded legend to the right. It reads population data from a CSV hosted on GitHub, converting the Population_Millions values to numbers. The chart uses `d3.pie` for slice geometry, `d3.arc` for rendering, and a categorical color scale via `d3.scaleOrdinal` with `d3.schemeCategory10`. Slices are drawn with white stroke separation, and the SVG output includes concise continent labels positioned at arc centroids.

AI-generated description
MIT Licensed

Similar vizzes