Interactive Hierarchies - Drowning in rats

Interactive Hierarchies - Drowning in rats

It’s been a while since my last blog (turns out moving both job and city requires some effort), but for my glorious return I’ve decided to dive into the world of interactive graphics. In particular I’m going to investigate some alternatives packages that allow us to visualise hierarchical data. Interactive visualisations within R can be created using htmlwidgets. This specific set of packages brings the a host of interactive JavaScript visualisation libraries to R, without the user needing any prior JavaScript knowledge.
Reanimating the Datasaurus

Reanimating the Datasaurus

Whilst browsing twitter last night I came upon this tweet by the currrent author of gganimate: I've started a gganimate wiki page in order to collect examples. If you want to showcase your animations and help others learn in the process, consider submitting an issue as described on the main page #rstats https://t.co/VrT5IV2izr — Thomas Lin Pedersen (@thomasp85) August 16, 2018 Now I’ve been experimenting a lot with creating animations with R, and I absolutely love using gganimate .
The Burger King Pandemic

The Burger King Pandemic

Whilst I was rooting around for inspiration, my girlfriend suggested I should do a post about food, quickly followed up by “burgers!!!”. So a few google searches later and I decided to create an animated map, showing all the countries of the world that had at least one Burger King store. I’m particularly chuffed that I’ve managed to combine a multitude of really cool packages in this post. We’ve got:
UK Population Pyramid

UK Population Pyramid

On my journey to creating my animated Premier League table in my previous post, I noticed a lot of examples for creating gifs using the magick package. The gist behind the majority of these examples was to create a sequence of snapshots which could be combined together to create animations. Whilst not quite as seamless as gganimate, it appears to be much more versatile. So I thought I would try and make one.
Animated Premier League Table

Animated Premier League Table

For my inaugural blog post I decided I would step into the world of animated graphics for the first time. I was inspired by the presentation that Thomas Lin Pedersen gave at the useR! conference on gganimate and was motivated to create my very first gif. I rooted around for ideas and decided upon creating an animated table of the Premier League for the last season, with the clubs being depicted by their crests.