Observable PlotDistribution

Beeswarm Plot

Beeswarm plot avoiding point overlap through intelligent positioning.

Preview placeholder

swarm-v1

Installation

Terminal
npx @ontopic/viz add plot/generic/swarm-v1

Props

PropTypeDescription
dataSwarmData[]Data points to distribute
radiusnumberPoint radius

See full TypeScript interface on GitHub for all props.

Usage Example

TypeScript
import { BeeswarmPlot } from '@/viz/components/plot/generic/swarm-v1';