jimjam-slam / ggflags

A flag geom for ggplot2. Tweaks the original by using round flags (great for plotting as points).
91 stars 14 forks source link

Integration with ggiraph #19

Open jimjam-slam opened 2 years ago

jimjam-slam commented 2 years ago

The plotly package doesn't, and probably cannot, support ggflags. But ggiraph can! It currently works fine with the output, but the flags aren't interactive at all.

I propose geom_flag_interactive based on geom_point_interactive. Not sure how well it'll go with package access, but we can give it a try!

https://github.com/davidgohel/ggiraph/blob/master/R/geom_point_interactive.R