The googleVis package provides an interface between R and the Google Charts API.
It allows users to create web pages with interactive charts based on R data frames, using the Google Charts API and to display them either via the local R HTTP help server or within their own sites, without uploading the data to Google. A modern browser with Internet connection is required and for some charts Flash.
You find examples of all googleVis function on CRAN. Perhaps the best known example of the Google Chart API is the motion chart, popularised by Hans Rosling in his 2006 TED talk.
You can install the stable version from CRAN:
To install the current development version from github you need the devtools package and the other packages on which googleVis depends:
install.packages(c("devtools","RJSONIO", "knitr", "shiny", "httpuv"))
To install googleVis run:
s library(devtools) install_github("mages/googleVis")
library(googleVis) ?googleVis demo(googleVis)
See the googleVis package vignettes for more details. For a brief introduction read the five page R Journal article and go through our tutorial. More examples have been posted on Markus' blog.
This package is free and open source software, licensed under GPL 2 or later.
googleVis documentation by Markus Gesmann & Diego de Castillo is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at https://developers.google.com/chart/interactive/docs/gallery.