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)

f81ab33ed83c4cbfb50b9f6197b81d5d

Fork of ICE - 7 Pie Chart Maanas Katta

0 stars1🌍 Public
DDivyaVellanki
Last edited Mar 26, 2022
Created on Mar 26, 2022

This visualization displays the top 10 countries by deaths from air pollution in 2020, using a pie chart with colored slices and value labels. It loads CSV data from a GitHub gist and renders an SVG via d3.pie, d3.arc, and d3.scaleOrdinal to map deaths to colors. A legend lists each country with its corresponding count, formatted with d3.format. The code uses d3.csv for data fetching and d3.select to manage the SVG elements.

AI-generated description