🌍 Public
Viewing a saved revision (read-only)
4189a492b48d4fa5936c981b7cd19cc5
ICE - 7 Pie Chart
This pie chart visualizes the top 10 countries with the highest death counts from air pollution in 2020. A legend on the right, generated using D3’s `scaleOrdinal` for color mapping, identifies each country and its corresponding death toll. The chart uses D3’s `pie` and `arc` functions to compute and draw the SVG segments, with text labels placed at each slice’s centroid. Data is loaded asynchronously from a CSV file using D3’s `csv` function.
AI-generated description