Skip to main content
100%

Fork of Fork of Fork of Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 10, 2023
Created on Mar 10, 2023

This visualization shows the top 10 countries’ 2020 deaths from air pollution using a pie chart, with annual income categories as the slice values. The chart renders colored arcs and a corresponding legend, with each slice’s value displayed in thousands. The code uses d3.csv to load data from a GitHub gist, then d3.pie, d3.arc, and d3.scaleOrdinal to generate the SVG pie segments and legend. Text elements are styled with CSS, and the legend pairs colored rectangles with profession names and formatted income values.

AI-generated description
MIT Licensed

Similar vizzes