🌍 Public
Viewing a saved revision (read-only)
9caed22deb814d35a5bd110a774ea2dc
Question 1
This pie chart visualizes the top 10 countries by deaths from air pollution in 2020. It uses D3 v5 to fetch CSV data from a GitHub repository, process it with d3.csv, and render the chart as SVG paths generated by d3.pie and d3.arc. Each slice displays the death count in thousands using d3.format, while a corresponding legend with colored rectangles identifies each country. The chart employs an ordinal color scale with ten distinct colors.
AI-generated descriptionA bare minimum HTML page.