Skip to main content
100%

Worldwide Suicide Map with Two Menu and Tooltips

✓ Published1🌍 Public
CChen Ding
Last edited Oct 30, 2019
Created on Oct 30, 2019

This interactive world map visualizes global suicide rates from 1979 to 2016 using data from the World Health Organization. Two dropdown menus allow users to select a specific year and highlight a particular country, with circles sized by suicide count via d3.scaleSqrt and colored distinctly for the highlighted nation. The visualization uses d3.geoNaturalEarth1 and d3.geoPath for the map projection and rendering, while React manages the interface state and d3-tip provides tooltips displaying country, year, and suicide number on hover.

AI-generated description

Description

A world map showing suicide data provided by World Health Organization that has a drop down menu used to change the year.

Question

What country has the most number of suicide? Any trend of spatial distribution of suicide?

Things to do

  • Add title to the map
  • Add tooltip to the mark

Data Source

Suicide data from Suicide Rates dataset.

Country boundary from World Atlas TopoJSON, polished for visual style, including graticules.

Country latitude and longitude from Dataset Publishing Language.

MIT Licensed

Similar vizzes