100 years of hurricanes in 100 lines of code
NOAA keeps some pretty detailed data on storms, dating all the way back to the 19th century. In light of all the recent hurricane talk, we decided to have a look at it.
Get the dataHere, we attach a few packages and read in some data (downloaded from the links in-code).
Process the dataThe dplyr package goes along way in making the data ready for visualization.
Visualize the dataA few lines more, and we get Irma's trajectory.
Make an animationWith a bit of creative file naming and loops, we get a sequential set of pngs, ready to be combined into an animation.
Enjoy the resultHere it is. 100 years of hurricanes, in one gif, generated with only (about) 100 lines of code.
Here's all the code for the production of these maps. Enjoy!