I have two dataframes and I'd like to put them on the same scatterplot ggplot. However, I'd like to display the names of the point (third column of both dataframes) , but only for the points belonging to the "df2" data.frame. Is it possible ? Here's my code and my dataframes.
Do you mean something like that?
Note: variable percent is not defined in your sample data, so I commented scale_*_continuous() lines to prevent the error.
I also would like to make possible to "click" on the plot and draw a dot at the place the click occured. Could you tell me if it's possible and how to do it ? (also I I click a second time at another place on the plot, the first dot has to vanish)
I'm never worked with dynamic plots, so can't help with that.
I would suggest creating a new topic with this question, otherwise, people may not see it.