GAPMINDER FOUNDATION
- This case study involves data from the GAPMINDER FOUNDATION about trends in world health and economics.
- understand how Hans Rosling and the Gapminder Foundation use effective data visualization to convey data-based trends
- be able to apply the ggplot2 techniques
- understand how fixed scales across plots can ease comparisons
- be able to modify graphs to improve data visualization.
R CODE
Load the required packages
Life Expectance VS Fertility(Africa-2012)
#1 - Whole Africa
#2 - Region Wise
#3 - Country and region with good Life Expectancy and Fertility Rate
Life expectancy and the Vietnam War
#1 - Vietnam and US (1960 - 2010)
#notice the dip in LE during the war for Vietnam
#1 - Vietnam and US (1960 - 2010)
#notice the dip in LE during the war for Vietnam
#2. LE in Combodia
#notice the dip in LE btw 1975-1979 due to brutal dictatorship
Dollars Per Day
#1- Create a varible dollar per day for African Countries(2010)
#1- Create a varible dollar per day for African Countries(2010)
#2- Same using density plot
#orfilling with region with aes function
#3- Same for 2 years
#4- Same with stack histogram
Infant Mortality Scatter Plot
#1 - Africa(2010)
#2 - Same with labels using 2 years











Comments
Post a Comment