Nothing
## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(eval = FALSE)
## -----------------------------------------------------------------------------
# r2d3(data, script = "barchart.js", d3_version = "3")
## -----------------------------------------------------------------------------
# r2d3(data, script = "barchart.js", container = "div")
## -----------------------------------------------------------------------------
# r2d3(data, script = "barchart.js", container = "div", elementId = "my-element")
## -----------------------------------------------------------------------------
# r2d3(
# data=c(0.3, 0.6, 0.8, 0.95, 0.40, 0.20),
# script = "barchart.js",
# options = list(color = "orange")
# )
## -----------------------------------------------------------------------------
# options(r2d3.theme = list(
# background = "#FFFFFF",
# foreground = "#000000")
# )
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.