🌍 Public
Viewing a saved revision (read-only)
d3c2b61a4a7546bf822b856474ac15ce
Fork of ICE 7 Pie Chart
This pie chart visualizes the top five countries by deaths in 2020, using a dataset from a GitHub gist. Each slice is color-coded and labeled with its percentage, while a legend on the right lists the country names and corresponding death counts. The visualization is built with D3 v5, using `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.format` to generate and style the SVG paths and text. Data is fetched as CSV and converted to numeric values before rendering.
AI-generated description