I tried adding label to a ggalluvial
plot. I only have axis 1 and 2 and when I try to show label, it shows twice.
Here's my code :
ggplot(bdd_1,
aes(axis1 = Mef_R21, axis2 = Mef_R22, y=freq,
label = scales::percent(round(Effectifs, digits = 2))))+
geom_alluvium(color= "black",aes(fill=statut)) +
geom_stratum() +
geom_text(stat = "stratum",
aes(label = after_stat(stratum)),size = 3,discern=FALSE)+
geom_text(stat = "flow", nudge_x = 0.2, size = 2.5) +
theme(legend.position = "bottom")
I would like to delete the label percentage on the right, outside of the chart (in the red circle on the picture). Is there any possibility to do so? Thank you in advance.