Skip to main content
100%

Suicide Number By Country with Year Menu

✓ Published0🌍 Public
CChen Ding
Last edited Oct 30, 2019
Created on Oct 3, 2019
Forked from Stylized Bar Chart

This interactive bar chart displays the top 15 countries by suicide number for a selected year, with a dropdown menu offering choices from 1979 to 2015 or the most recent available data. The visualization uses React to manage the year selection state, D3 v5’s `scaleBand` and `scaleLinear` for positioning, and renders SVG rectangles with tooltips showing exact values. Data comes from a CSV file of suicide rates by country, loaded via `d3.csv` and sorted in descending order before display. Users can compare rankings across years to observe trends in national suicide statistics.

AI-generated description

Description

A program of bar charts that shows the suicide statistics versus country in each Year. User can choose the Year they are concerned about, and the bar charts display the Top 15 Most suicide number countries that year.

Questions and Answers

What country has the most suicide number? How is the change over years?

Notes

  • "Most Recent Suicide Number" means, the last available suicide number of that country.

Data Sources

Data: Suicide_By_Country_1979to2016.csv from Suicide Rates Overview

MIT Licensed

Similar vizzes