🌍 Public
Viewing a saved revision (read-only)
33f32f68b8c547659ce4c821249a71f3
Fork of 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