project
Visualizing Inequalities in Life Expectancy
Compare life expectancy across countries and genders with ggplot2.
Start Project for Free10 Tasks1,500 XP6,100
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?Try DataCamp For Business
Loved by learners at thousands of companies
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, you 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
- 1United Nations life expectancy data
- 2Life expectancy of men vs. women by country
- 3Visualize I
- 4Reference lines I
- 5Plot titles and axis labels
- 6Highlighting remarkable countries I
- 7How has life expectancy by gender evolved?
- 8Visualize II
- 9Reference lines II
- 10Highlighting remarkable countries II
Technologies
R
Antonio Sánchez Chinchón
See MoreData Scientist at Telefónica