Skip to main content
100%

World Happiness Report

✓ Published0🌍 Public
Mmkt-ds
Last edited Sep 24, 2019
Created on Sep 20, 2019

This visualization displays the relationship between a country’s happiness score and its GDP per capita, with each circle colored by whether the country is classed as the “happiest country.” Built with the vega-lite-api and D3 v5, it loads CSV data from a GitHub gist and renders a scatterplot using `vl.markCircle`. The chart applies custom axis and label styling from a shared config, uses a tooltip to show country names, and fits the view to the window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.

The data is from the The World Happiness Report that uses survey data, demographic information and statistical analysis to rank 156 nations according to the happiness of their people.

A country’s overall happiness score is a composite of different factors including GDP per capita, healthy life expectancy and perceptions of corruption etc.

The data is trying to answer what factors contributes to happiness.

The source of the explaination of the data is at : https://s3.amazonaws.com/happiness-report/2019/WHR19_Ch2A_Appendix1.pdf

MIT Licensed

Similar vizzes