Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart Maanas Katta

Public visualization

Viewing a saved revision (read-only)

f4c268ac14b74d3a9a928c6be679825d

Fork of ICE - 7 Pie Chart Maanas Katta

0 stars0🌍 Public
Vvarun-030
Last edited Mar 27, 2022
Created on Mar 27, 2022

This pie chart visualizes the top 10 countries by deaths from air pollution in 2020, with each slice labeled with its death count in thousands. The chart uses d3.pie and d3.arc to generate segments, while d3.scaleOrdinal assigns colors from a hardcoded array. A legend on the right lists each country with a color swatch and corresponding value. Data is fetched as CSV from a GitHub gist using d3.csv, and all elements are rendered as SVG.

AI-generated description