Skip to main content
100%

Fork of Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published1🌍 Public
DDivyaVellanki
Last edited Mar 27, 2022
Created on Mar 27, 2022

A pie chart displays the number of deaths in 2020 attributed to air pollution for the top 10 countries, with each slice labeled with its value in thousands and a corresponding legend listing country names and figures. The chart is built using D3 v5, loading CSV data from a GitHub gist, and renders SVG elements via `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.format`. Each slice is colored using a fixed array of colors, and text labels are positioned using the arc centroid.

AI-generated description
MIT Licensed

Similar vizzes