Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published1🌍 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
MIT Licensed

Similar vizzes