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
RRahulSai05
Last edited Mar 29, 2022
Created on Mar 29, 2022

A pie chart displays the top 10 countries by deaths from air pollution in 2020, with each slice labeled with the death count in thousands (e.g., "123K"). Built with d3.v5, it uses `pie()`, `arc()`, and `scaleOrdinal()` to generate and color the sections, with a legend positioned to the right. Data is loaded from a CSV via `d3.csv()`. Custom text elements and a legend are appended directly to the SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed