🌍 Public
Viewing a saved revision (read-only)
4b18b5c37d194a56a1a61caf58da9283
Activity 6 Question 1
This interactive D3.js pie chart visualizes the top 10 countries with the highest deaths attributed to air pollution in 2020. It encodes each country’s death count as a slice of the pie, with the value displayed inside each segment in thousands. A color-coded legend maps each slice to its corresponding country. The visualization is rendered as an SVG using D3 v5 APIs, including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.format`. Data is fetched asynchronously from a CSV file hosted on GitHub.
AI-generated description