2025-03-26

Key Variables

Score: List of happiness scores of different countries.
GDP per capita: The GDP per capita score of different countries.
Social support: The social support of different countries.
Healthy life expectancy: The healthy life expectancy of different countries.
Freedom to make life choices: The score of perception of freedom of different countries.
Generosity: Generosity (the quality of being kind and generous) score of different countries.
Perceptions of corruption: The score of the perception of corruption in different countries.

A Quick Overview of the Data

##   Overall.rank Country.or.region Score GDP.per.capita Social.support
## 1            1           Finland 7.632          1.305          1.592
## 2            2            Norway 7.594          1.456          1.582
## 3            3           Denmark 7.555          1.351          1.590
## 4            4           Iceland 7.495          1.343          1.644
## 5            5       Switzerland 7.487          1.420          1.549
##   Healthy.life.expectancy Freedom.to.make.life.choices Generosity
## 1                   0.874                        0.681      0.202
## 2                   0.861                        0.686      0.286
## 3                   0.868                        0.683      0.284
## 4                   0.914                        0.677      0.353
## 5                   0.927                        0.660      0.256
##   Perceptions.of.corruption Year
## 1                     0.393 2018
## 2                     0.340 2018
## 3                     0.408 2018
## 4                     0.138 2018
## 5                     0.357 2018
## # A tibble: 2 × 5
##    Year Average.Happiness Median.Happiness Min.Happiness Max.Happiness
##   <dbl>             <dbl>            <dbl>         <dbl>         <dbl>
## 1  2018              5.38             5.38          2.90          7.63
## 2  2019              5.41             5.38          2.85          7.77

What are the Most and Least Happy Countries?

Top 5 happiest countries: Finland, Denmark, Norway, Iceland, Netherlands
5 least happy countries: Rwanda, Tanzania, Afghanistan, Central African Republic, South Sudan

Social Support

Linear Correlation 2018: 0.7457602
Linear Correlation 2019: 0.7797499

Freedom to Make Life Choices

Linear Correlation 2018: 0.5442799
Linear Correlation 2019: 0.5667418

GDP Per Capita

Linear Correlation 2018: 0.8021239
Linear Correlation 2019: 0.7995895

Generosity

Linear Correlation 2018: 0.1358247
Linear Correlation 2019: 0.0758237

Interactive GDP vs Generosity (2018)

Interactive GDP vs Generosity (2019)

Healthy Life Expectancy Histogram

Healthy Life Expectancy

Linear Correlation 2018: 0.7758136
Linear Correlation 2019: 0.7798831