🌍 Public
Viewing a saved revision (read-only)
8fb3a0b5e558496abedc4422739cc8f9
Stylized Donut Chart Deaths
This donut chart visualizes mortality data, breaking down firearm deaths, suicide deaths, and alcohol-related deaths for males and females. Three colored arcs represent each cause of death, with labels positioned around the circumference. The visualization uses React with D3’s `arc` generator to create the donut segments, calculating angles from proportional death counts. Data comes from a CSV file loaded via D3’s `csv` function, with values parsed and totaled by sex in the `Marks` component.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.