Fork of Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
This visualization presents a pie chart of the top 10 countries by air pollution-related deaths in 2020, with each slice labeled in thousands and a corresponding legend listing country names and values. It uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` to generate the chart, while `d3.csv` fetches data from a GitHub gist. Text labels are positioned via `arc.centroid`, and the SVG rendering includes custom styling for the title and legend.
AI-generated descriptionMIT Licensed