Visualizing R-Ladies’ growth!

May 15, 2017

(This article was first published on d4tagirl, and kindly contributed to R-bloggers)

I recently came across an article in which they map 5,000 years of city growth in a beautiful animation, and I knew I had to make a similar map for the R-Ladies’ chapters (probably the purple color they use had plenty to do with that 💜 ). So my idea was to map all the R-Ladies’ chapters according to their size, and that’s when I thought of using their Twitter followers as a way to estimate it, since it’s the most extended social media we use (except for some chapters).

I decided to make 3 posts to go through the details of what I’ve done (especially for future me!):

  1. How to fetch Twitter users with R: the title is kind of self explanatory…
  2. How to deal with ggplotly huge maps: where I go through the details of why I chose not to use ggplotly and use plot_geo instead to generate the HTML.
  3. How to plot animated maps with gganimate: again, pretty obvious subject.

This is the visualization I liked the most, so I wanted to share it here…

… as I did on Twitter, Slack and other social media 💜

It was a pretty popular Tweet, you should try!

Please leave your comments if you have any, or mention me on Twitter. Thanks 😉

To leave a comment for the author, please follow the link and comment on their blog: d4tagirl. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

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)