Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart 11515092

Public visualization

Fork of ICE - 7 Pie Chart 11515092

0 stars1🌍 Public
NNaimisha-M
Last edited Jun 30, 2022
Created on Jun 30, 2022

A pie chart displays the top 10 countries by deaths from air pollution in 2020, using D3 v5 to fetch CSV data and render SVG arcs. The chart uses `d3.pie` and `d3.arc` to generate segments, `d3.scaleOrdinal` for color mapping, and `d3.format` to abbreviate values like “1.2K”. Legends show country names with corresponding values, and a title is centered above the visualization.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed