Description Usage Arguments Details Value Author(s) References Examples
Convert webvis to HTML.
1 |
wv |
A webvis.flat object (from the unfold.webvis function()). |
div.id |
The div tag id. |
html.wrap |
Whether to wrap the visualization in other supplied HTML. |
title |
The title of the HTML page. |
head |
The HTML above the webvis. |
tail |
The HTML below the webvis. |
protovis.path |
The path to the protovis javascript. |
webvisToHTML
Convert webvis to HTML.
The HTML output
Shane Conway shane.conway@gmail.com
http://vis.stanford.edu/protovis/
1 | webvisToHTML(wv=unfold.webvis(new.webvis() + pv.line(data=c(1, 1.2, 1.7, 1.5, .7, .5, .2), bottom.name="y", left.name="x", bottom.scale="linear.y.y", left.scale="linear.x.x", line.width=5, render=FALSE)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.