Skip to main content
100%

pie chart

✓ Published0🌍 Public
SSai Hemanth Babu Sunkari
Last edited Mar 28, 2024
Created on Feb 23, 2024

A pie chart displays the top 10 countries by recorded deaths from gas pollution in 2021, with each slice labeled in thousands and accompanied by a color-matched legend. The visualization reads data from a CSV file via `d3.csv` and uses `d3.pie` and `d3.arc` to generate the segments, with `d3.scaleOrdinal` assigning colors. Text labels are positioned using the arc centroid, and the chart renders as SVG within an HTML page.

AI-generated description
MIT Licensed

Similar vizzes