Skip to main content
100%

Suicide Trend over Years and Gender in United States

✓ Published0🌍 Public
KKeerthiKandadai
Last edited May 9, 2020
Created on May 9, 2020

This stacked bar chart visualizes suicide trends across years in the United States, partitioned by gender. The visualization uses animation-capable SVG rendering through D3.js, with interactive tooltips on hover and a legend that highlights specific gender categories. Data comes from the Suicide_in_USA_by_Sex.csv dataset, processed using D3's layout stack and nested data grouping functions. The chart employs d3.scale, d3.svg.axis, and d3.legend APIs to construct the axes and color legend, with a custom d3-tip for hover information.

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

MIT Licensed

Similar vizzes