Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published1🌍 Public
Bblikitha
Last edited Mar 28, 2022
Created on Mar 28, 2022

A pie chart displays the top 10 countries by air pollution-related deaths in 2020, with each slice labeled in thousands and a legend pairing country names with their values. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate SVG paths, with colors assigned from a hardcoded array. Data is loaded as CSV from a GitHub gist via `d3.csv`, and the chart is rendered inside an SVG canvas with custom legend text and value formatting.

AI-generated description
MIT Licensed

Similar vizzes