Skip to main content
100%

rao

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

A pie chart displays the top 10 countries by air pollution deaths in 2020, with each slice labeled in thousands and accompanied by a legend listing country names and values. The visualization uses d3.pie and d3.arc to generate the chart geometry, while d3.scaleOrdinal maps a fixed color palette to data segments, and d3.format handles tick label formatting. Data is loaded asynchronously via d3.csv from a GitHub gist, with the SVG rendered entirely through D3 v5’s selection and enter/exit methods.

AI-generated description
MIT Licensed

Similar vizzes