Fork of Pie chart Visualization
✓ Published0🌍 Public
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 descriptionMIT Licensed