Learn R Programming

googleVis (version 0.2.6)

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: http://code.google.com/apis/visualization/documentation/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