0

I'd like to know if it's possible to make a motion map in R. I've done some research on the internet but couldn't find an example where this has already been done. My ultimate goal is to have something with a play button, like this: motion bubble map

The same question has already been asked around 2 years ago, question link, here the answer was to use Javascript for this. But as 2 years have passed and I have no knowledge of Javascript, I would like to ask if people already found a different solution for this.

I have looked at the googleVis package for motion charts but didn't find an option to use maps here. Also, I'm using data on regional level and not on country level as they did in the Javascript example.

Eventually I want a motion map for cases through time (by week of year), like in this map: (it's the map of Sierra Leone) enter image description here

My last hope is writing a function to automate the process of plotting the maps by week, and then composing a video from all the images... But I would like to know if I get different options for this in R.

Community
  • 1
  • 1
wbaeckelmans
  • 347
  • 3
  • 12

0 Answers0