🌍 Public
Viewing a saved revision (read-only)
c3917a67221349a0bf98a8893e9c1ee9
Fork of Fork of Making an Interactive Pie Chart
This interactive donut chart visualizes mortality rates across ten countries, with each slice's arc length proportional to the death count from a CSV file. The chart displays country labels and uses a categorical color scale from `d3-scale-chromatic`. On hover, a tooltip appears showing the percentage of total deaths, calculated from the data. The visualization is built with D3.js using `select`, `pie`, `arc`, and `sum` from the D3 module, rendering as an SVG with custom styling for hover effects.
AI-generated description