🌍 Public
Viewing a saved revision (read-only)
2fdbefa9bf3b4ec5b9161e072d4464de
Fork of ICE - 7 Pie Chart Maanas Katta
This visualization shows the top 10 countries by deaths from air pollution in 2020 as a pie chart, with each slice labeled with its death count (in thousands) and a legend listing country names alongside their corresponding values. The chart uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the slices and assign colors from a hardcoded array. Data is loaded via `d3.csv` from a GitHub Gist, and the SVG canvas is animated with a custom render function.
AI-generated description