The googleVis package provides an interface between R and the Google Chart Tools API.
It allows users to create web pages with interactive charts based on R data frames, using the Google Chart Tools 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.
Please visit the project web site for more information and examples and read the Google API Terms of Use before you use the package.
You can install the stable version from CRAN:
install.packages('googleVis', dependencies = TRUE)
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:
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.
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.