Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
A pie chart displays the top 10 countries by deaths from air pollution in 2020, with each slice labeled with the death count in thousands (e.g., "123K"). Built with d3.v5, it uses `pie()`, `arc()`, and `scaleOrdinal()` to generate and color the sections, with a legend positioned to the right. Data is loaded from a CSV via `d3.csv()`. Custom text elements and a legend are appended directly to the SVG.
AI-generated descriptionMIT Licensed