🌍 Public
Viewing a saved revision (read-only)
84c3da28a91544d7b7c523a764533aab
Fork of ICE - 7
This example uses a pie chart to visualize the top 10 countries by deaths in 2020 attributed to air pollution. The D3.js v5 code loads CSV data from a gist, converts the figures with the `csv` function, and renders the chart using `pie`, `arc`, and `scaleOrdinal`. Each slice is labeled with a short formatted value, and a legend lists the countries with their corresponding counts, all displayed as SVG elements.
AI-generated description