Skip to content

Life Expectancy and GDP for different countries over 2000 - 2015

Notifications You must be signed in to change notification settings

xre22zax/Life-Expectancy-and-GDP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unveiling the Link Between Life Expectancy and GDP Across Countries (2000-2015)

Overview

This project dives deep into the intriguing relationship between life expectancy and Gross Domestic Product (GDP) across different countries from 2000 to 2015. By harnessing the power of data visualization, we uncover fascinating patterns and trends hidden within this dataset.


Libraries Used :

  • pandas
  • numpy
  • seaborn
  • matplotlib.pyplot

Methods Employed :

  1. Data manipulation:
  • list
  • dictionary
  • value_counts()
  • groupby()
  • min()
  • mean()
  • median()
  • max()
  • zip()

  1. Data visualization:
  • line plot
  • scatter plot (sns.lmplot)
  • histogram plot (plt.hist)
  • side-by-side plot
  • bar plot
  • pie chart
  • marker
  • edgecolor
  • bins
  • linestyle
  • label
  • alpha
  • plt.grid
  • plt.axvline
  • plt.ylim

Graphs :

  • line plot
  • sns.lmplot
  • plt.hist (histogram plot)
  • side by side plot
  • bar plot
  • pie chart

Key Highlights :

  • Explore global trends: Delve into the evolution of life expectancy and GDP for each country over the analyzed period.
  • Uncover disparities: Identify countries with the highest and lowest life expectancy alongside their economic performance.
  • Visualize correlations: Discover the intriguing connection between national wealth and lifespan through captivating plots and charts.
  • Interactive notebooks: Dive deeper and experiment with the analysis using the provided Jupyter notebooks.

Key Methods:

  • Data wrangling with powerful pandas functions like groupby, value_counts, and sorting.
  • Creating stunning visualizations using line plots, scatter plots, histograms, and many more.
  • Analyzing trends and correlations to unlock valuable insights into the data.

Ready to Explore?

  1. Clone this repository.
  2. Install the required libraries: pip install pandas numpy seaborn matplotlib.
  3. Run the main Jupyter notebook: life_expectancy_gdp.ipynb.

Usage

  • Explore the generated visualizations to gain insights into the data.
  • Modify the code to experiment with different visualizations and analyses.

Contributing

Feel free to submit issues or pull requests for improvements or additions.


Author

Reza Sadeghi

About

Life Expectancy and GDP for different countries over 2000 - 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published