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)

bed670ca6e1d4abab60b6d257cf9ab70

Fork of ICE - 7 Pie Chart Maanas Katta

0 stars1🌍 Public
NNaimisha-M
Last edited Jul 1, 2022
Created on Jul 1, 2022

This pie chart visualizes the top 10 countries by deaths due to air pollution in 2020. Each slice represents a country, with its size proportional to the number of deaths, and the chart includes labeled values and a legend mapping colors to country names. The visualization uses d3.pie, d3.arc, and d3.scaleOrdinal to construct the chart and apply colors. Data is loaded from a CSV file via d3.csv, and the text labels are formatted using d3.format. The entire graphic is rendered as SVG elements within a fixed 960x500 canvas.

AI-generated description