Skip to content

maver1ck/googleVis

 
 

Repository files navigation

googleVis

Travis-CI Build Status CRAN_Status_Badge downloads

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. 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 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.

<iframe src="http://mages.github.io/googleVis/WorldBank.html" width="560" height="560" frameborder="0"></iframe>

Please read the Google API Terms of Use before you start using the package.

Installation

You can install the stable version from CRAN:

install.packages('googleVis')

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")

Usage

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.

Tutorial

Donate

License

This package is free and open source software, licensed under GPL 2 or later.

Creative Commons Licence
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.

About

Interface between R and the Google Chart Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 98.9%
  • HTML 1.1%