Regions | R Documentation |
Example data set to illustrate the use of the googleVis package.
data(Regions)
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
data(Regions) Tree <- gvisTreeMap(Regions, "Region", "Parent", "Val", "Fac", options=list(width=600, height=500, showScale=TRUE, fontSize=16)) ## Not run: plot(Tree) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.