Stacked Line Graph of Deaths
This stacked line graph shows the number of suicide, alcohol-related, and firearm deaths in the United States by year, rendered as layered area paths. The visualization uses React with D3 scales and the `area()` and `curveNatural` generators from d3-shape to create smooth, cumulative curves. SVG paths are colored red, green, and blue to represent each death type, with a color legend providing interactivity through hover states. The data comes from a CSV loaded using `d3.csv`, and the chart includes axes generated by custom React components.
AI-generated descriptionA visualization constructed using React that shows the number of various types of deaths by demographics.
The data shown here comes from Gist: Deaths by Suicide, Firearms, Alcohol.
Currently the Sex, Ethnicity, and Age Group menus don't filter. The current graph shows male points as blue and female points as red. The various points in each year are the different ethnicities. The age group currently isn't being used and all age groups are being showed.