2025-11-02

Purpose

  • To show how countries compare on a range of metrics related to happiness
  • To show trends in individual countries over time

Data

Data from the World Happiness Report covering the years 2015-2023.

## # A tibble: 1,367 × 9
##    country     region   happiness_score gdp_per_capita generosity social_support
##    <chr>       <chr>              <dbl>          <dbl>      <dbl>          <dbl>
##  1 Switzerland Western…            7.59           1.40      0.297           1.35
##  2 Iceland     Western…            7.56           1.30      0.436           1.40
##  3 Denmark     Western…            7.53           1.33      0.341           1.36
##  4 Norway      Western…            7.52           1.46      0.347           1.33
##  5 Canada      North A…            7.43           1.33      0.458           1.32
##  6 Finland     Western…            7.41           1.29      0.234           1.32
##  7 Netherlands Western…            7.38           1.33      0.476           1.28
##  8 Sweden      Western…            7.36           1.33      0.363           1.29
##  9 New Zealand North A…            7.29           1.25      0.475           1.32
## 10 Australia   North A…            7.28           1.33      0.436           1.31
## # ℹ 1,357 more rows
## # ℹ 3 more variables: freedom_to_make_life_choices <dbl>,
## #   healthy_life_expectancy <dbl>, year <dbl>

Map

  • Landing page.
  • Users can click on a country or select a country from the dropdown menu to see time series data for that country.
  • They also can change which metric is displayed.

Time Series Example

Example of time series drill down for Finland.