Gráficos en movimiento de Google, ahora con R!

Hans Rosling: Let my dataset change your mindset | Video on TED.com: "- Enviado mediante la barra Google"



Aquí está el script para la construcción del gráfico:

library(animation)
ani.options(interval = 0.2, ani.height = 450, ani.width = 600, outdir = getwd(),
   title = "The Bubbles Animation in Hans Rosling's Talk",
   description = "An imitation of Hans Rosling's moving bubbles.")
ani.start()
par(mar = c(4, 4, 0.2, 0.2))
# with 'years' as the background
Rosling.bubbles(text = 1951:2000)
ani.stop()



En general, podemos crear gráficos en movimiento en R (del tipo desarrollado por Google), con el paquete "googleVis" (http://code.google.com/p/google-motion-charts-with-r/). Por ejemplo:
 * Motion Chart via gvisMotionChart
* Geo Map via gvisGeoMap
* Map via gvisMap
* Table via gvisTable
* Annotated Time Line via gvisAnnotatedTimeLine
* Tree Map via gvisTreeMap

Comentarios