🌍 Public
activity 7Question 1
This pie chart visualizes the top 10 countries by deaths from air pollution in 2020 in the United States. Each slice is labeled with its death count in thousands, and a legend maps colors to country names. The chart uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions to generate the SVG paths and text labels, with data loaded via `d3.csv` from a GitHub repository.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed
Comments
Sign in to join the discussion.