Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published1🌍 Public
Sspandhanabadekol
Last edited Mar 27, 2022
Created on Mar 27, 2022

This interactive SVG pie chart visualizes the top 10 countries by deaths from air pollution in 2020, using data from a CSV file. The chart, built with D3 v5, uses `d3.pie` and `d3.arc` to generate the sectors, with each slice colored and labeled by death count (in thousands). A legend on the right maps country names to their corresponding values. The code leverages D3's `scaleOrdinal` for color assignment and `arc.centroid` for text placement.

AI-generated description
MIT Licensed

Similar vizzes