Fork of ICE 7 Pie chart
✓ Published1🌍 Public
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 descriptionMIT Licensed