🌍 Public
Viewing a saved revision (read-only)
c1b6dd8b13a74a649165ba457b130583
Fork of Fork of ICE - 7
This example shows the top 10 countries by deaths from air pollution in 2020 as a pie chart with a legend. It uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` to generate slices and color them, while `csv` loads data from a GitHub Gist. The chart renders in SVG, with each slice labeled by deaths in thousands and a separate legend listing countries and values.
AI-generated description