d3-shape icon indicating copy to clipboard operation
d3-shape copied to clipboard

d3.dodge?

Open mbostock opened this issue 5 years ago • 1 comments

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.

mbostock avatar May 24 '19 01:05 mbostock

The Plot.dodge transform works nicely. https://observablehq.com/@observablehq/plot-dodge

mbostock avatar Dec 20 '22 22:12 mbostock