Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

rao

Public visualization

Viewing a saved revision (read-only)

286dc1077af14341bdfe0e91b4312d39

rao

0 stars0🌍 Public
RRakshithaRao27
Last edited Mar 27, 2022
Created on Mar 27, 2022

A pie chart displays the top 10 countries by air pollution deaths in 2020, with each slice labeled in thousands and accompanied by a legend listing country names and values. The visualization uses d3.pie and d3.arc to generate the chart geometry, while d3.scaleOrdinal maps a fixed color palette to data segments, and d3.format handles tick label formatting. Data is loaded asynchronously via d3.csv from a GitHub gist, with the SVG rendered entirely through D3 v5’s selection and enter/exit methods.

AI-generated description