Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Donut Chart Deaths

Public visualization

Stylized Donut Chart Deaths

0 stars1🌍 Public
PPeter Maida
Last edited Nov 4, 2020
Created on Nov 4, 2020

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 description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed