This app demonstrates basic plot interactions, with both base graphics and ggplot2.
The four types of interactions are: clicking, double-clicking, hovering, and brushing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.