How do I plot the taxa in this data so that they are ordered by their depth distributions? For example, I want the taxa that only occur in one or two depths at the top and the taxa that have wider depth distributions and occur in more depth zones at the bottom. This is the code I have so far.
ggplot(df) +
geom_point(mapping = aes(x = DepthInMeters,
y = ScientificName),
size = 1,
shape = 12,
colour = "blue") +
theme(axis.text.y = element_text(color = "grey20"))