Learn R Programming

⚠️There's a newer version (0.7.3) of this package.Take me there.

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

5,246

Version

0.7.1

License

GPL (>= 2)

Maintainer

Last Published

March 1st, 2023

Functions in googleVis (0.7.1)

gvisAnnotatedTimeLine

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

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

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

Dinosaur data
gvisGeoChart

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

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

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

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

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

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

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

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

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

Merge two googleVis charts into one gvis-object
gvisSteppedAreaChart

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

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

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

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

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

Print and plot gvis objects
gvisPieChart

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

renderGvis
gvisScatterChart

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

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

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

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

Daily temperature data for Cairo
Population

Population: googleVis example data set
Exports

Exports: googleVis example data set
OpenClose

OpenClose: googleVis example data set
CityPopularity

CityPopularity: googleVis example data set
Regions

Regions: googleVis example data set
createGoogleGadget

Create a Google Gadget
Fruits

Fruits: googleVis example data set
Andrew

Hurricane Andrew: googleVis example data set
Cats

Cat Search Terms
gvisBarChart

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

Stock: googleVis example data set
gvisAnnotationChart

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

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

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

R Interface to Google Charts