Ggiraph

Creating interactive graphs: an example with twitter data

I recently had to make an interactive visualisation of some twitter-data. Here I’ll explain how I went about it. rtweet Getting twitter data is reasonably easy once you have the rtweet package going, although there are certainly some steps that you have to go through to set-up this package (with respect to the API authorization). You can read about these steps here. We’ll also use the tidyverse-package (as always, I will rely heavily on ggplot that is within the tidyverse).