Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
VVenkata Rajashekar Reddy Chinthala
Last edited Mar 27, 2022
Created on Mar 27, 2022

This pie chart visualizes the top 10 countries by air pollution-related deaths in 2020, labeling each slice with death counts in thousands. The chart renders using SVG with D3 v5, employing the `pie` and `arc` generators to create segments and `scaleOrdinal` for coloring. A legend lists countries with corresponding values. Data is fetched asynchronously from a CSV file using D3’s `csv` method, and text labels are positioned via `arcGenerator.centroid`.

AI-generated description
MIT Licensed

Similar vizzes