DataViz Project - Suicides Visualization
An interactive line chart visualizes suicide death rates in American countries over time, alongside related mental health and unemployment metrics. A country selector filters the dataset, and a color legend distinguishes unemployment from mental illness data. Built with React and D3 v5, the visualization uses `scaleTime`, `scaleLinear`, and `curveNatural` for path rendering, with data from a CSV hosted on GitHub Gist. The SVG output includes custom axes and a dropdown menu for country selection.
AI-generated descriptionThis visualization was constructed using the D3 & React.
The idea behind this visualization was to show the percentage of the population of various countries in America that suffer from some mental illness over the years.
Questions I wanted to answer with this visualization
- How has the percentage of mental diseases in some American countries changed over time?
- Has there been a decrease in people with mental illnesses, or rather an increase?
The data used in this visualization can be found on Gist here: Mental Healths Disorders Dataset