How I make my mortgage rates gif

{% include JB/setup

Making a data viz

SOMETIMES ANIMATION CAN BE USEFUL, though it is often misused. I’ve been tracking the week-to-week changes in mortgage rates, and animating with a GIF.

Example animated gif with mortgage rates from 1/1/2013 to 3/10/2016

I build my gif using the R statistical package.

Perhaps I’ll explain more of the details later, but the R code below uses the ggplot2, ggthemes and animation packages to create the plots, style them, and save the animation.

{% include makingthegif.html