Skip to main content
100%

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

✓ Published0🌍 Public

This interactive chart displays the percentage of a population affected by a selected mental health disorder for a chosen American country over time. Using D3 and React, the visualization plots a single line for the selected country. The chart includes dropdown menus to filter the data by country and disorder type. A dedicated `useData` function loads a CSV file from a Gist, and the line mark is rendered as an SVG path using d3’s `line` and `curveNatural` functions. The data is sourced from the Gist dataset mentioned in the README.

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