Skip to main content
100%

Fork of Fork of Fork of Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 12, 2023
Created on Mar 12, 2023

This visualization presents a pie chart of the top 10 countries for deaths in 2020 caused by air pollution, using annual income as the data dimension. The chart renders as SVG through D3 v5, with each slice colored using `d3.scaleOrdinal` and generated via the `d3.arc` and `d3.pie` APIs. A legend on the right maps colors to professions, showing values formatted in thousands. Data is loaded asynchronously from a CSV file using `d3.csv`, and the code includes unused `d3.json` and `d3.forceSimulation` imports, though only pie and arc functions are applied.

AI-generated description
MIT Licensed

Similar vizzes