Skip to content

A Python-based analysis of the UN World Happiness Report (2008–2018) for 165 countries. Includes correlation analysis, income inequality (Gini Index), and country comparisons (e.g., Germany, China). Visualizations created using Pandas, Seaborn, and Matplotlib.

Notifications You must be signed in to change notification settings

Dr-Jiemo/World-Happiness-Analysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

World-Happiness-Analysis

This project analyzes global happiness data using the United Nations World Happiness Report (2008–2018). It examines socio-economic factors such as Life Ladder, GDP per capita, social support, and perceptions of corruption to assess their impact on happiness levels across 165 countries.

Features

  • Top and Bottom Rankings: Identifies countries with the highest and lowest happiness scores.
  • Correlation Analysis: Explores relationships between happiness and factors like GDP, social support, and corruption.
  • Income Inequality: Calculates the Gini Index for 2018 to assess wealth disparity.
  • Country Comparisons: Compares key factors for Germany, China, and Hong Kong.
  • Visualizations: Includes scatter plots, bar charts, and box plots for data insights.

Tools and Libraries

  • Programming Language: Python
  • Libraries: Pandas, NumPy, Matplotlib, Seaborn

How to Run

  1. Clone the repository:
git clone https://github.com/Aundrila/World-Happiness-Analysis.git
  1. Install required Python libraries:
pip install pandas numpy matplotlib seaborn
  1. Run the analysis script using Jupyter Notebook or a Python IDE.

Insights

The analysis reveals factors like GDP per capita, social support, and perceptions of corruption as major influencers of happiness levels. Countries like Denmark and Finland rank highest, while South Sudan and Togo score the lowest. Gini Index highlights economic disparities.

Author

  • Aundrila Acharjee

License

TU Dortmund

About

A Python-based analysis of the UN World Happiness Report (2008–2018) for 165 countries. Includes correlation analysis, income inequality (Gini Index), and country comparisons (e.g., Germany, China). Visualizations created using Pandas, Seaborn, and Matplotlib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%