library(dimple)
library(datasets)
shinyServer(function(input, output) {
dataset <- reactive({
if (input$head)
head(cars)
else
cars
})
output$dimple <- renderDimple({
dimple(dataset())
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.