Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart Maanas Katta

Public visualization

Fork of ICE - 7 Pie Chart Maanas Katta

0 stars1๐ŸŒ Public
DDivyaVellanki
Last edited Mar 26, 2022
Created on Mar 26, 2022

This visualization displays the top 10 countries by deaths from air pollution in 2020, using a pie chart with colored slices and value labels. It loads CSV data from a GitHub gist and renders an SVG via d3.pie, d3.arc, and d3.scaleOrdinal to map deaths to colors. A legend lists each country with its corresponding count, formatted with d3.format. The code uses d3.csv for data fetching and d3.select to manage the SVG elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed