Image
Code

Fork of regression

johnmurphyLC

Last edited May 28, 2023
Created on May 28, 2023

A scatter plot of GDP vs Health Expenditures with a regression line with and without logscale.

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.

Data Source

Gist File

A country’s overall happiness score is a composite of different factors collected in an annual worldwide survey, including GDP per capita School years Sustainable economic development Employement Rate Health expenditure Government effectiveness Female MPS Control of corruption

What factors contributes to happiness for different countries is interesting. For example more school years increases happiness in certain countries, it's probably correlated with more salaries when a person studies more. I need to create another visual to show the relationship between each factors for each country.

MIT Licensed