Skip to main content
100%

Question 1

✓ Published0🌍 Public
KKarnam Abinay Goud
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from 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 description

A bare minimum HTML page.

MIT Licensed

Similar vizzes