Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
RRohith arabati
Last edited Mar 27, 2022
Created on Mar 27, 2022

A pie chart visualizes the top 10 countries by vehicular deaths from air pollution in 2020, with each segment labeled in thousands and a legend listing states and their corresponding values. The chart is rendered as an SVG using D3 v5, loading CSV data from a GitHub gist. The code employs d3.pie and d3.arc to generate segments, d3.scaleOrdinal for color mapping, and d3.select for DOM manipulation, with text and legend elements added manually.

AI-generated description
MIT Licensed

Similar vizzes