| createCanvas | R Documentation | 
Create Canvas
createCanvas(canvasData)
| canvasData | A named list with canvas details. | 
A JSON object with the created canvas.
## Not run: 
canvasData <- list(
  name = "new_canvas",
  label = "New canvas"
)
createCanvas(canvasData)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.