Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
This pie chart visualizes the top 10 countries by deaths attributed to air pollution in 2020. It uses d3.pie and d3.arc to generate the chart segments, with d3.scaleOrdinal assigning colors from a predefined array. The chart displays death counts in thousands on each slice and includes a legend listing country names and values. Data is loaded asynchronously via d3.csv from a GitHub gist, and the SVG is rendered with D3 v5.
AI-generated descriptionMIT Licensed