Add automatic loading animations to your Shiny outputs (e.g. plots, tables) by adding a single function call around the Shiny output function. Animations automatically show/hide when the output is recalculating/recalculated. You can use your own custom image, or choose from 8 different types of built-in animations, as well customize the color and size of the built-in animations.
For further reference on how to use the package, please refer to https://github.com/daattali/shinycssloaders
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.