Geom.beeswarm

Plot points, shifting them on the x- or y-axis to avoid overlaps.

Arguments

Aesthetics

Examples

# Binding categorial data to x
plot(dataset("lattice", "singer"), x="VoicePart", y="Height", Geom.beeswarm)
VoicePart Soprano 1 Soprano 2 Alto 1 Alto 2 Tenor 1 Tenor 2 Bass 1 Bass 2 60 65 70 75 80 Height