🌍 Public
Viewing a saved revision (read-only)
f1a5dc4a512c4d2b81f52477bdf6a5fd
ICE-7 PIE CHART
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 description