Using the Google Visualisation API with R

The googleVis package provides an interface between R and the Google Visualisation API to create interactive charts which can be embedded into web pages. The best known of these charts is probably the Motion Chart, popularised by Hans Rosling in his TED talks. With the googleVis package users can easily create web pages with interactive charts based on R data frames and display them either via the local R HTTP help server or within their own sites.

Markus Gesmann , Diego de Castillo

CRAN packages used

rsp, googleVis, rjsonio, brew

CRAN Task Views implied by cited packages

ReproducibleResearch, SpatioTemporal, WebTechnologies


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Gesmann & Castillo, "The R Journal: Using the Google Visualisation API with R", The R Journal, 2011

BibTeX citation

  author = {Gesmann, Markus and Castillo, Diego de},
  title = {The R Journal: Using the Google Visualisation API with R},
  journal = {The R Journal},
  year = {2011},
  note = {},
  doi = {10.32614/RJ-2011-017},
  volume = {3},
  issue = {2},
  issn = {2073-4859},
  pages = {40-44}