treemap: Vega treemap

Description Usage Arguments

View source: R/treemap.r

Description

Create a treemap visualization

Usage

1
2
3
  treemap(data, labels = names(data),
    font = "Helvetica Neue", font.size = 14,
    fill.color = "pink", hover.color = "lightblue", ...)

Arguments

data

Numeric vector that determines the size of the boxes

labels

Label vector, default "names(data)". If NULL labels will be removed.

font

Font

font.size

Font size

fill.color

Fill color

hover.color

Hover color

...

Vega class arguments (such as width, height, padding, viewport, etc.)


metagraf/rVega documentation built on May 22, 2017, 4:24 a.m.