Skip to main content
100%

ICE - 7 Pie Chart Srinivas

✓ Published0🌍 Public
Ssrinivasaraosankula
Last edited Mar 11, 2023
Created on Mar 11, 2023

This D3.js pie chart visualizes deaths in 2020 caused by air pollution, aggregated by country. The SVG canvas renders each country’s death count as a colored slice with a value label, while a legend pairs each color with its country and corresponding figure. The visualization uses the `d3.pie` layout, `d3.arc` for generating sector paths, and `d3.scaleOrdinal` to assign colors. Data is loaded asynchronously from a CSV file via the `d3.csv` loader, and formatting is handled with `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes