Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart Maanas Katta

Public visualization

Fork of ICE - 7 Pie Chart Maanas Katta

0 stars0🌍 Public
Aavinash021997
Last edited Mar 28, 2022
Created on Mar 28, 2022

This visualization presents a pie chart of the top 10 countries by deaths from air pollution in 2020, with each slice labeled with its value in thousands and a corresponding legend listing country names and death counts. The chart uses D3 v5’s `pie` and `arc` generators to create SVG paths, with a `scaleOrdinal` mapping slice colors. Data is loaded asynchronously via `d3.csv` from a GitHub gist, and text labels are positioned using `arc.centroid`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed