Fork of Suicide Trend over Years and Gender in United States
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 descriptionStacked 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