Visualizing the Baby Boom

[This article was first published on R on kieranhealy.org, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

To close out what has become demography week, I combined the US monthly birth data with data for England and Wales (from the same ONS source as before), so that I could look at the trends together. The monthly England and Wales data I have to hand runs from 1938 to 1991. I thought combining the monthly tiled heatmap and the LOESS decomposition would work well as a poster, so I made one. I think it turned out pretty well.

Visualizing the baby boom in the US, and England & Wales.

Visualizing the baby boom in the US, and England & Wales.

As a piece of visualization, we can see the strengths and weaknesses of both the tiled heatmaps and the more standard time series plots. The Viridis palette really does a good job of showing a continuous variable in color—far, far better than traditional rainbow and terrain palettes, and for my money also better than most of the standard balanced palettes. The time series decomposition shows the data and the trends together. I separated out the seasonal components for easier viewing. I also played with the aspect ratios of those two pieces in order to convey the seasonality while keeping comparability with the rest of the plot. For this plot, the seasonality is modeled quite simply—other specifications might put more of the remainder into the seasonal trend. You can see that the seasonality of births differs between the US and England & Wales, however.

Substantively, the plot shows just how big the Baby Boom was in comparison to other “generational” moments (such as Gen-X and Millennials and all that). Those other demographic trends may be in the data, but they are dwarfed by the scale of the Baby Boom. Meanwhile, comparatively, we can see that while the boom happens in both regions at the same time, the US sustains its post-demobilization boom through the 1950s. The boom in England and Wales is smaller and over much more quickly. Post-war Britain was an austere place, with rationing of some goods, including meat continuing as late as 1954. Things pick up in England and Wales in the 1960s, as the US boom is in decline. The lowest birth rates in England and Wales are in 1977.

Shameless plug: If you liked this poster and would like to learn how to make something like it, why not take a look at Data Visualization: A Practical Introduction, forthcoming later this year from Princeton University Press. A full draft is available for viewing at http://socviz.co. Data and code to reproduce the plots is available at https://github.com/kjhealy/boom.

To leave a comment for the author, please follow the link and comment on their blog: R on kieranhealy.org.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)