Skip to main content
100%

Percentage of the population that suffered from schizophrenia in Central American countries over the years

✓ Published0🌍 Public
FFelipe Mejías
Last edited Sep 21, 2020
Created on Sep 15, 2020

This visualization uses grouped bar charts to compare the percentage of the population suffering from schizophrenia in Costa Rica, Guatemala, Nicaragua, and Panama for the years 1995, 2005, and 2015. The vega-lite-api, built on Vega-Lite and Vega, renders the chart, with bar color encoding each country. Tooltips display the average schizophrenia percentage per country via a vega-tooltip handler. Data is loaded asynchronously from a CSV file using d3.csv and filtered to select the specified countries and years, with a custom config adjusting axis colors and font sizes.

AI-generated description

This visualization was constructed using the vega-lite-api.

The idea behind this visualization was to show the percentage of the population of Costa Rica, Guatemala, Nicaragua and Panama who has suffered from schizophrenia over the years.

The data used in this visualization can be found on Gist here: Mental Healths Disorders Dataset

MIT Licensed

Similar vizzes