Skip to main content
Public

Share visualization

Loading preview…

Fork of Suicide Trend over Years and Gender in United States

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Suicide Trend over Years and Gender in United States

0
TTracyWangYQ
Last edited Dec 14, 2022
Created on Dec 14, 2022

This animated stacked bar chart visualizes suicide trends over time, with bars segmented by gender to show the distribution of suicide numbers across years in the United States. The visualization uses D3.js version 3.5.5 with the d3-legend and d3-tip libraries for interactive features, allowing users to hover over bars for detailed tooltips and filter the chart by clicking on gender categories in the legend. Data comes from the Suicide_in_USA_by_Sex.csv file, and the chart employs SVG rendering with smooth transitions between states.

AI-generated description

Stacked bar chart showing Suicide Trend over Years and Gender in United States.

Interactions:

  • Hover over the bars for tool tips.
  • Hover over the legend to highlight religions.

Derived from the following examples published on Curran's VizHub:

Data Sources

Data: Suicide_in_USA_by_Sex.csv from Suicide Rates Overview

Comments

Sign in to join the discussion.

MIT Licensed