Skip to main content
100%

Pie Chart ICE-7

✓ Published0🌍 Public
KKrishnaPriyaKurra
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Pie Chart

This pie chart displays the top 10 most populated countries in the world based on 2022 population data loaded from a GitHub gist via d3.csv. The visualization uses d3.pie and d3.arc to generate SVG path segments, with colors assigned through d3.scaleOrdinal. A custom legend, built with SVG circles and text, shows each country name alongside its population value formatted with d3.format, while the chart is centered using an SVG group transform.

AI-generated description
MIT Licensed

Similar vizzes