Animated Choropleths in R

April 9, 2014

[This article was first published on Revolutions, 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.

Ari Lamstein has updated his choroplethr package with a new capability for creating animated data maps. I can't embed the animated version here, but click the image below to see an animation of US counties by average household income, from the richest to the poorest by percentile. (The code behind the animation is available on github.)

Animated choropleths

The chloroplethr package is also now available on CRAN, so you can install the latest version (including the new choroplethr_animate function) with the command install.packages(choroplethr) . In addition to playing animations from start to finish, you can also step though each frame using the + and – buttons.

This version of choroplethr was created during Trulia’s latest innovation week. Ari Lamstein wrote most of the R code, and the animation code was written by Brian P Johnson.

Google Groups choroplethr: choroplethr v1.4.0 is now available  

To leave a comment for the author, please follow the link and comment on their blog: Revolutions. 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.

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


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)