Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
MMgk1255
Last edited Jul 2, 2022
Created on Jul 2, 2022

A pie chart displays the top 10 countries by deaths from air pollution in 2020, with each slice labeled with its death count in thousands and accompanied by a color-coded legend listing country names and values. The visualization loads CSV data from a GitHub gist using d3.csv, then uses d3.pie to compute arc angles and d3.arc to render SVG paths. d3.scaleOrdinal assigns colors to slices, while d3.format formats tick labels. The chart is built with D3 v5, rendering entirely in SVG within a static HTML page.

AI-generated description
MIT Licensed

Similar vizzes