Learn R Programming

googleVis (version 0.7.3)

Regions: Regions: googleVis example data set

Description

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

Usage

data(Regions)

Arguments

Format

A data frame with 11 observations on the following 4 variables.

Region

a factor with levels America, Asia ...

Parent

parent region identifier

Val

a numeric vector

Fac

a numeric vector

Examples

Run this code
data(Regions)
Tree <- gvisTreeMap(Regions,  "Region", "Parent", "Val", "Fac",
                    options=list(width=600, height=500,
                                 showScale=TRUE, fontSize=16))
if (FALSE) {
plot(Tree)
}

Run the code above in your browser using DataLab