Learn R Programming

googleVis (version 0.4.4)

CityPopularity: CityPopularity: googleVis example data set

Description

Example data set to illustrate the use of the googleVis package.

Usage

data(CityPopularity)

Arguments

source

Google Geo Map API: https://google-developers.appspot.com/chart/interactive/docs/gallery/geomap.html

Examples

Run this code
data(CityPopularity)

G <-  gvisGeoMap(CityPopularity, locationvar='City' ,numvar='Popularity', 
      			options=list(region='US',
				     dataMode='markers', 
				     colors='[0xFF8747, 0xFFB581, 0xc06000]'))
plot(G)

Run the code above in your browser using DataLab