ICE-7 PIE CHART
✓ Published0🌍 Public
This pie chart displays the top 10 countries by deaths from air pollution in 2020, with each slice labeled with the death count in thousands and a corresponding legend listing country names and values. The visualization uses d3.pie and d3.arc to generate segments, d3.scaleOrdinal for color assignment, and d3.csv to load the dataset from a GitHub gist. Text labels are positioned using arc centroid calculations, and the legend is built manually with SVG rect and text elements.
AI-generated descriptionMIT Licensed