Skip to main content
100%

Fork of Pie chart Visualization

✓ Published0🌍 Public
DDanthalakirankumar
Last edited Mar 28, 2022
Created on Mar 28, 2022

This example displays a pie chart showing the top 10 countries by deaths from air pollution in 2020. Each slice is labeled with the death count in thousands, and a legend lists the countries alongside their corresponding values. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to compute the arc paths and assign colors, while rendering the chart as SVG. Data is loaded asynchronously via `d3.csv` from a remote gist URL.

AI-generated description
MIT Licensed

Similar vizzes