Thursday, March 10, 2016

Japan's aging population in R

Here is a nice GIF showing the population aging of Japan, and here is the script to make this animated population pyramid in R using ggplot. 

Kudos to Kyle Walker, author of this code and who you should definitely follow on Twitter and GitHub if you're interested in R, spatial analysis, data visualization and demography.

Japan_pyramid
credit: Kyle Walker