Skip to main content
100%

Fork of ICE 7 Pie chart

✓ Published1🌍 Public
Ppavankalyan1507
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE 7 Pie chart

This visualization is a pie chart displaying the top 10 countries by population in 2022. Each slice is labeled with its population value in thousands, and a legend lists the country names alongside corresponding color swatches and population figures. The code fetches CSV data from a GitHub gist URL using the `d3.csv` function. It renders the chart as SVG using D3 v5’s `pie` and `arc` generators, with `scaleOrdinal` assigning colors to each data category.

AI-generated description
MIT Licensed

Similar vizzes