I saw such one graph in the Hans Rosling’s book—FACTFULNESS. Thanks to gapminder.org, that they provided all data publically available; thus, I decided to make a dynamic graph of it.
Generally, it is easy to study graphs because of their self explanatory nature. But few thinks are worth noting, specially, if you do not deal with graphs in your daily life:
Size of points are based on the population size of countries
Different colours are representing different continents
This gif shows data from 1953-2007
ggplot(gapminder, aes(x = gdpPercap, y=lifeExp, size = pop, colour = continent)) +
geom_point(show.legend = TRUE, alpha = 0.7) +
scale_color_viridis_d() +
scale_size(range = c(2, 12)) +
scale_x_log10() +
labs(title = 'Relation between GDP per capita and Life Expectancy', subtitle = 'Year: {frame_time}', x = 'GDP per capita', y = 'Life Expectancy', caption = 'Data Source: www.gapminder.org/data') +
transition_time(year) +
ease_aes('linear')If you think ‘Correlation does not imply causation’, I’d request you to follow some papers below :)
Hossain, Golam. (2013). Impact of Life Expectancy on Economics Growth and Health Care Expenditures: A Case of Bangladesh. Universal Journal of Public Health 1(4): 180-186, 2013. 180-186. 10.13189/ujph.2013.010405.
Rafia Shafi & Samreen Fatima, 2019. “Relationship between GDP, Life Expectancy and Growth Rate of G7 Countries,” International Journal of Sciences, Office ijSciences, vol. 8(06), pages 74-79, June.
Although, there are many evidences that castigated this claim, too.
Such as:
But that is a big debate to indulge ourselves into, so for now just enjoy this!!!!!!
:)