d3po-shiny | R Documentation |
Output and render functions for using d3po within Shiny applications and interactive Rmd documents.
d3po_output(output_id, width = "100%", height = "400px")
render_d3po(expr, env = parent.frame(), quoted = FALSE)
d3po_proxy(id, session = shiny::getDefaultReactiveDomain())
output_id |
output variable to read from |
width, height |
Must be a valid CSS unit (like |
expr |
An expression that generates a d3po object |
env |
The environment in which to evaluate |
quoted |
Is |
id |
Id of plot to create a proxy of. |
session |
A valid shiny session. |
Creates a basic 'htmlwidget' object for 'Shiny' and interactive documents
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.