How we gawped in wonder at Han Rosling’s TED talk. Now you can create your own! Yes you can, with R! In four lines! Don’t believe me?
library(googleVis)data(Fruits)M = gvisMotionChart(data=Fruits, idvar="Fruit", timevar="Date", chartid="Fruit")plot(M)
Done! Click here to see it working.
It generates the html code for you, I’ve saved one on my Dropbox so you can see it working below. Press the play button, tis cool. The GoogleVis library covers the majority of the Google Visualistion API so all the map stuff is there as well. Powerful stuff.