Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie Chart Maanas Katta

Public visualization

Viewing a saved revision (read-only)

a1b5ce75a3b1460dab5d2cf91e389d75

ICE - 7 Pie Chart Maanas Katta

0 stars0🌍 Public
Mmandalasaikrishna007
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from HTML Starter

This visualization displays a pie chart comparing the top 10 countries by deaths attributable to air pollution in 2020. Each slice represents a country, with the chart rendered as SVG elements sized and positioned using D3's `d3.arc` and `d3.pie` APIs. The code uses `d3.select` and `d3.attr` to style the slices, while legend text is positioned using `d3.text` with explicit coordinates.

AI-generated description