🌍 Public
Viewing a saved revision (read-only)
509e448858f14f3da07e54cee45ce6c4
Fork of Fork of Fork of ICE - 7 Pie Chart
A pie chart visualizes the top 10 countries by COVID-19 deaths in 2020, with each slice labeled with the death count in thousands. The chart uses `d3.pie` to compute arc angles and `d3.arc` for path generation, colored via `scaleOrdinal`. A legend on the right lists countries with corresponding color swatches and death values. Data is fetched as CSV from a GitHub gist, and the SVG is rendered with D3 v5, using `select` and `append` for elements and `format` for tick labels.
AI-generated description