d3_line | R Documentation |
d3_line()
creates a D3 line plot. It takes data either directly or passed to it from d3plot()
function.
d3_line(data, ...)
data |
data in JSON format, created by d3plot() or from another source |
... |
additional, optional arguments |
d3plot
## Not run: # OK d3_point(d3plot(x = mpg, y = cyl, color = cyl, id = rownames(mtcars), data = mtcars)) # Better d3plot(x = Sepal.Length, y = Petal.Length, color = Species, data = iris) %>% d3_line() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.