This small Shiny application demonstrates Shiny's automatic UI updates. Move
the Number of bins slider and notice how the renderPlot
expression is
automatically re-evaluated when its dependant, input$bins
, changes,
causing a histogram with a new number of bins to be rendered.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.