Data visualization with R: global Shiny apps traffic. leonawicz.github.io
I track my app usage with Google Analytics which provides geolocation data. I ended up with too many points to plot so I decided it would be easier to spread them out in time as an animation. In that case, why stop at fixed points? I do love me some great circles.
To make great circle trajectories from individual user locations, I had to route each location to some other point.
I chose to route them randomly through either Fairbanks, AK or Denver, CO since I work in both places. They represent where the apps "come from". It has nothing to do with actual internet routing. It's more of a social network animation.
For fun I decided to print to the screen some of the actual R code used to produce the still frames for the spinning earth and great circle pathways. Because neRd.
If you are looking for R code to help get you started with something similar which is based on this video:
It's not a reproducible example using provided data. It's template code. You would have to adapt the code to your own data and your computing resources.
Tags: Data visualization with R: global Shiny apps traffic, visualization, globe, maps, great circles, social networks, animation, data, statistics, 3D, R (Programming Language), Earth