/Visualizing-Inequalities-in-Life-Expectancy

Compare life expectancy across countries and genders with ggplot2.

Primary LanguageJupyter Notebook

Visualizing-Inequalities-in-Life-Expectancy

Compare life expectancy across countries and genders with ggplot2.

Workspace Link: https://app.datacamp.com/workspace/w/030652cb-6a5e-46a0-a1af-7a80dead72cb/edit

Project Description:

Do women live longer than men? How long? Does it happen everywhere? Is life expectancy increasing? Everywhere? Which is the country with the lowest life expectancy? Which is the one with the highest? In this project, we will answer all these questions by manipulating and visualizing United Nations life expectancy data using ggplot2. The dataset can be found here and contains the average life expectancies of men and women by country (in years). It covers four periods: 1985-1990, 1990-1995, 1995-2000, and 2000-2005.

Project Tasks:

  1. United Nations life expectancy data
  2. Life expectancy of men vs. women by country
  3. Visualize I
  4. Reference lines I
  5. Plot titles and axis labels
  6. Highlighting remarkable countries I
  7. How has life expectancy by gender evolved?
  8. Visualize II
  9. Reference lines II
  10. Highlighting remarkable countries II