Learn R Programming

googleVis

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. The data remains local and is not uploaded to Google.

Check out the examples from the googleVis demo.

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

Installation

You can install the stable version from CRAN:

install.packages('googleVis')

Usage

library(googleVis)
?googleVis
demo(googleVis)

See the googleVis package vignette for more details. For a brief introduction read the five page R Journal article.

License

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

Copy Link

Version

Install

install.packages('googleVis')

Monthly Downloads

6,069

Version

0.7.3

License

GPL (>= 2)

Maintainer

Last Published

May 25th, 2024

Functions in googleVis (0.7.3)

dino

Dinosaur data
gvisGantt

Google Gantt Chart with R googleChartName <- "ganttchart" gvisChartName <- "gvisGantt"
gvisComboChart

Google Combo Chart with R googleChartName <- "combochart" gvisChartName <- "gvisComboChart"
gvisGeoChart

Google Geo Chart with R googleChartName <- "geochart" gvisChartName <- "gvisGeoChart"
gvisMerge

Merge two googleVis charts into one gvis-object
gvisMap

Google Maps with R googleChartName <- "map" gvisChartName <- "gvisMap"
gvisColumnChart

Google Column Chart with R googleChartName <- "columnchart" gvisChartName <- "gvisColumnChart"
gvisGeoMap

Google Geo Map with R googleChartName <- "geomap" gvisChartName <- "gvisGeoMap"
gvisGauge

Google Gauge with R googleChartName <- "gauge" gvisChartName <- "gvisGauge"
gvisLineChart

Google Line Chart with R googleChartName <- "linechart" gvisChartName <- "gvisLineChart"
gvisHistogram

Google Histogram Chart with R googleChartName <- "histogram" gvisChartName <- "gvisHistogram"
gvisSankey

Google Sankey Chart with R googleChartName <- "sankey" gvisChartName <- "gvisSankey"
gvisTreeMap

Google Tree Map with R googleChartName <- "treemap" gvisChartName <- "gvisTreeMap"
gvisSteppedAreaChart

Google Stepped Area Chart with R googleChartName <- "steppedarechart" gvisChartName <- "gvisSteppedAreChart"
gvisOrgChart

Google Org Chart with R googleChartName <- "orgchart" gvisChartName <- "gvisOrgChart"
gvisTimeline

Google Timeline Chart with R googleChartName <- "timeline" gvisChartName <- "gvisTimeline"
gvisTable

Google Table Chart with R googleChartName <- "table" gvisChartName <- "gvisTable"
gvisMotionChart

Google Motion Chart with R googleChartName <- "motionchart" gvisChartName <- "gvisMotionChart"
gvisScatterChart

Google Scatter Chart with R googleChartName <- "scatterchart" gvisChartName <- "gvisScatterChart"
gvis Methods

Print and plot gvis objects
gvisWordTree

Google Word Tree with R googleChartName <- "wordtree" gvisChartName <- "gvisWordTree"
renderGvis

renderGvis
gvisPieChart

Google Pie Chart with R googleChartName <- "piechart" gvisChartName <- "gvisPieChart"
OpenClose

OpenClose: googleVis example data set
Stock

Stock: googleVis example data set
gvisAnnotationChart

Google Annotation Chart with R googleChartName <- "annotationchart" gvisChartName <- "gvisAnnotationChart"
gvisCalendar

Google Calendar Chart with R googleChartName <- "calendar" gvisChartName <- "gvisCalendar"
createGoogleGadget

Create a Google Gadget
Cats

Cat Search Terms
gvisBarChart

Google Bar Chart with R googleChartName <- "barchart" gvisChartName <- "gvisBarChart"
Regions

Regions: googleVis example data set
gvisCandlestickChart

Google Candlestick chart with R googleChartName <- "candlestickchart" gvisChartName <- "gvisCandlestickChart"
gvisBubbleChart

Google Bubble Chart with R googleChartName <- "bubblechart" gvisChartName <- "gvisBubbleChart"
CityPopularity

CityPopularity: googleVis example data set
Population

Population: googleVis example data set
googleVis-package

R Interface to Google Charts
Andrew

Hurricane Andrew: googleVis example data set
Exports

Exports: googleVis example data set
Cairo

Daily temperature data for Cairo
Fruits

Fruits: googleVis example data set
gvisAreaChart

Google Area Chart with R googleChartName <- "areachart" gvisChartName <- "gvisAreaChart"
gvisAnnotatedTimeLine

Google Annotated Time Line with R googleChartName <- "annotatedtimeline" gvisChartName <- "gvisAnnotatedTimeLine"