categorical. In this section we will consider Cleveland dot plots as well, allowing to compare the values of 2 numerical values for each group. Using the ggplot2
library, we can build stem plot using a combination of geom_segment() and geom_point() as explained below.
Search the gallery