People affected by mental diseases over the years in American Countries
This interactive visualization shows how the percentage of a population affected by various mental health disorders changes over time across American countries. Users can select a country and a mental disease from dropdown menus to filter the view. A single line chart displays the trend using SVG paths generated with d3.line and curveNatural. The React application uses D3 v5 scales (scaleTime, scaleLinear) for axes and data from a CSV file loaded via d3.csv.
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