Skip to content

πŸ“Š Data analysis of the World Happiness Report to explore the factors influencing global happiness. Includes data cleaning, EDA, correlation analysis, and visualizations using Python (Pandas, Seaborn, Matplotlib).

Notifications You must be signed in to change notification settings

Aaronjill/world_happiness_report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


πŸ“Š Dataset Overview

The dataset contains information on happiness scores across different countries worldwide and their correlation with economic, health, and social factors.

πŸ› οΈ Technologies Used

βœ… Python 🐍
βœ… Pandas (for data manipulation)
βœ… Seaborn & Matplotlib (for visualization)
βœ… NumPy (for numerical operations)
βœ… Jupyter Notebook


πŸ“Š Key Analysis & Insights

πŸ“Œ 1. Data Cleaning & Preprocessing

βœ”οΈ Handled missing values (used mean/median based on skewness).
βœ”οΈ Fixed string encoding issues (\xa0) and trimmed unwanted spaces.
βœ”οΈ Converted non-numeric columns to numerical for correlation analysis.

πŸ“Œ 2. Exploratory Data Analysis (EDA)

βœ”οΈ Descriptive statistics using .describe(), .info().
βœ”οΈ Checked correlation between happiness score & other factors.
βœ”οΈ Identified data distribution & skewness using histograms.

πŸ“Œ 3. Correlation Analysis

βœ”οΈ Found that GDP per capita (0.80) and Social Support (0.75) are the strongest predictors of happiness.
βœ”οΈ Discovered that higher corruption (-0.40 correlation) lowers happiness levels.
βœ”οΈ Freedom to make life choices (0.54 correlation) significantly impacts happiness.

πŸ“Œ 4. Data Visualization

πŸ“Š Correlation Matrix Heatmap – Showed strong relationships between variables.
πŸ“‰ Scatter Plot (Happiness Score vs GDP per Capita) – Showed a positive correlation.
πŸ“ˆ Box Plot – Helped identify outliers in happiness scores.


πŸ“Š Visualizations

πŸ“Œ Correlation Matrix Heatmap

πŸ“Œ Happiness Score vs GDP per Capita


πŸ’‘ Next Steps:

  • Exploring interactive dashboards using Tableau/Plotly Dash πŸ“Š.

  • Applying Machine Learning for Happiness Prediction πŸ€–.

πŸš€ How to Run the Project

πŸ”Ή 1. Clone the Repository

git clone https://github.com/yourusername/world_happiness_report.git
cd world_happiness_report

About

πŸ“Š Data analysis of the World Happiness Report to explore the factors influencing global happiness. Includes data cleaning, EDA, correlation analysis, and visualizations using Python (Pandas, Seaborn, Matplotlib).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published