Skip to main content
100%

People affected by mental diseases over the years in American Countries - 2

✓ Published1🌍 Public
Qqcuong96
Last edited Oct 28, 2020
Created on Oct 28, 2020
Forked from Hello VizHub

A line chart displays the percentage of a selected American population affected by a chosen mental disorder per year. Users choose a country and a disorder from two dropdown menus; a single teal path then updates smoothly using d3.line with curveNatural, drawn on an SVG rendered via React. Axes are built with scaleTime and scaleLinear, and the data comes from a CSV hosted on Gist.

AI-generated description

This 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

MIT Licensed

Similar vizzes