Skip to content

SwarmMakie.jl

Beeswarm plots for Makie.jl

SwarmMakie

What is SwarmMakie.jl?

SwarmMakie makes beeswarm plots for Makie through the beeswarm recipe.

Quick start

The entry point to this package is the beeswarm recipe, which accepts input the same way scatter does in all respects – plus a keyword algorithm, which specifies the beeswarm algorithm!

julia
using SwarmMakie, CairoMakie
ys = rand(150)
beeswarm(ones(length(ys)), ys)

julia
using SwarmMakie, CairoMakie
xs = rand(1:4, 500)
ys = randn(500)
beeswarm(xs, ys; color = xs)