Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
This visualization presents a pie chart of the top 10 countries by deaths from air pollution in 2020, with each slice labeled with its value in thousands and a corresponding legend listing country names and death counts. The chart uses D3 v5’s `pie` and `arc` generators to create SVG paths, with a `scaleOrdinal` mapping slice colors. Data is loaded asynchronously via `d3.csv` from a GitHub gist, and text labels are positioned using `arc.centroid`.
AI-generated descriptionMIT Licensed