The googleVis package provides an interface between R and the Google's charts tools. It allows users to create web pages with interactive charts based on R data frames. Charts are displayed locally via the R HTTP help server. A modern browser with Internet connection is required and for some charts a Flash player. The data remains local and is not uploaded to Google.
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","jsonlite", "knitr", "shiny", "httpuv"))
To install googleVis run:
library(googleVis) ?googleVis demo(googleVis)
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.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.