I have been battling for a long time now to find a way to change the legend key of a ggplot2 with a hexagon. Any help or guidance are highly appreciated!
library(ggplot2)
set.seed(123)
ggplot(iris) +
geom_jitter(aes(x=Species,y=Sepal.Length,color=Species),width=0.25) +
guides(color= guide_legend(override.aes = list(shape = 21)))
Created on 2021-11-13 by the reprex package (v2.0.1)