A lollipop plot
is basically a barplot, where the bar is transformed in a line and a dot. It shows
the relationship between a numeric and a categorical variable. This page displays many lollipop plots made with
their source code.
Lollipop charts can be created using
ggplot2: the trick is to combine
geom_point() for the dots with
geom_segment() for the stems. See this basic example to see how to proceed.
Control group order
Changing group order in a lollipop chart is important to add insight to the chart. Learn why and discover 3 methods to do so.
Highlight one or several groups to convey your message more efficiently. Play with group appearance and add text annotation.
The web is full of astonishing R charts made by awesome bloggers. The R graph gallery tries to display some of the best creations and explain how their source code works. If you want to display your work here, please drop me a word or even better, submit a Pull Request!
Double cleveland chart
A very highly customized lollipop chart representing Mario Kart world records.
A work by Cédric Scherer for the TidyTuesday challenge.
Extended dumbbell plot
An extended dumbbell plot with clean annotation for mean and standard deviation.
A work by Tobias Stalder for the TidyTuesday challenge.