pv.dataset: Add a dataset as a variable to the visualization.

Description Usage Arguments Details Value Author(s) References Examples

View source: R/protovis.R

Description

Add a dataset as a variable to the visualization.

Usage

1

Arguments

data

The dataset to be used in the graphic.

name

The name of the dataset.

Details

pv.dataset Add a dataset as a variable to the visualization.

Value

A string of the relevant javascript.

Author(s)

Shane Conway shane.conway@gmail.com

References

http://vis.stanford.edu/protovis/

Examples

1
pv.dataset(data=data.frame(wheat=1:10), name="wheat")

webvis documentation built on May 30, 2017, 12:46 a.m.