I want to render a ggplot inside a Leaflet pop up. When I click a marker on my Leaflet map, I can make a pop up appear with some words like "Hi! I am a pop up!".
I don't know why inserting interactive buttons, images, and graphs is not a feature. Instead of writing a string in the popup function as its output, I want to insert my ggplot object.
Does anyone know how to do this, a workaround, or way to add this feature? It would be greatly appreciated!
Also, sadly, I am not familiar with java script or using leaflet outside of R.
I've looked through Leaflet Plug ins, stack exchange, github, and a few other sites, yet I can not find this feature for Leaflet in Shiny R. I may be looking in the wrong places.
Thanks for the help,
Robert