🌍 Public
Viewing a saved revision (read-only)
7215fdd853354e568b0895b49eaf5dbc
Fork of ICE - 7 Pie Chart Maanas Katta
This D3.js pie chart visualizes the top 10 countries by air pollution deaths in 2020, with each slice labeled with the death count in thousands. The chart uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the arcs, segment paths, and categorical colors. A custom legend, built with SVG rectangles and text elements, lists each country alongside its corresponding value, while the data is fetched from a CSV URL using `d3.csv`.
AI-generated description