Open mbostock opened 5 years ago
It’d be great to have a reusable layout primitive for beeswarm plots, as here:
https://observablehq.com/@mbostock/pachinko-simulator
Ideally, it’d support circles of variable radius. And I think the implementation could be accelerated further by using binned columns, each column sorted by y, but possibly the approach above is fast enough to start.
The Plot.dodge transform works nicely. https://observablehq.com/@observablehq/plot-dodge
It’d be great to have a reusable layout primitive for beeswarm plots, as here:
https://observablehq.com/@mbostock/pachinko-simulator
Ideally, it’d support circles of variable radius. And I think the implementation could be accelerated further by using binned columns, each column sorted by y, but possibly the approach above is fast enough to start.