| updateAmPieChart | R Documentation | 
Update the data of a pie chart in a Shiny app.
updateAmPieChart(session, outputId, data)
| session | the Shiny  | 
| outputId | the output id passed on to  | 
| data | new data; if it is not valid, then nothing will happen (in order
to be valid it must have the same structure as the data passed on to
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.