If you use ggplot2, you are probably used to creating plots with geom_line() and geom_point(). You may also have ventured into to the broader ggplot2 ecosystem to use geoms like geom_density_ridges() from ggridges or geom_signif() from ggsignif. But have you ever wondered how these extensions …

Continue reading: <a href=“https://www.r-bloggers.com/2025/11/an-introduction-to-writing-your-own-ggplot2-geo