Convert an ggplot to a shiny application
Similar approach, but is not working perfectly (strange error with geom_smooth()) https://www.r-bloggers.com/ggedit-interactive-ggplot-aesthetic-and-theme-editor/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.