Skip to main content
100%

ice 7

✓ Published0🌍 Public
Ppravallikayaram12
Last edited Mar 27, 2022
Created on Mar 27, 2022

This visualization displays the top 10 countries with the highest deaths in 2020 attributed to air pollution, using a pie chart with legend. The data is loaded from a CSV file via `d3.csv`, and each slice’s value is formatted in thousands using `d3.format`. The chart renders with SVG, using `d3.pie` and `d3.arc` to generate segments, while a `d3.scaleOrdinal` maps colors to data values. Text labels and a detailed legend are appended directly to the SVG.

AI-generated description
MIT Licensed

Similar vizzes