Data Analytics · International

The Happiness Ledger

Move the sliders. See what actually correlates with a country's happiness score — real data, real regression, no black box.

Real data — World Happiness Report, 2019-2025, 145 countries
Countries (latest year)
Regression R² (held-out)
Strongest Factor
Global Avg Score (latest)

The what-if simulator

Pick a country as a starting point, then move any factor slider — the score updates using the real regression coefficients fit on held-out-validated data.
This shows a statistical association from a linear regression fit on real WHR data — not a causal prediction of what would happen to a real country. The six factors are the WHR's own "explained contribution" values, which are already scaled to be additive components of the happiness score by construction; the regression's ~69% held-out R² reflects exactly how much of the score these six factors explain once the report's own baseline/residual term is excluded.

Top 15 happiest countries, latest year

Global average happiness score, 2019-2025

Regression coefficients — real, held-out-validated

How much each factor moves the happiness score per unit increase, fit on 810 training rows and validated on 203 held-out rows