CAYdenberg / hypocube

Composable, responsive, React-based data visualization
https://hypocube.livingpixel.io
MIT License
0 stars 1 forks source link

Dot plot #25

Open CAYdenberg opened 2 years ago

CAYdenberg commented 2 years ago

Examples: panels C, D, and E. The plotting is basically a scatter plot with a categorical X axis, but the dots need to "spread" on the X axis when they become clustered. Unknown: what is the algorithm for determining that spread?

CM-72-349-g002

CAYdenberg commented 2 years ago

Not sure yet how to implement the off-axis displacement, but terms for search engines include "beeswarm plot" and "jitter". One possible implementation is: https://observablehq.com/@d3/beeswarm

CAYdenberg commented 2 years ago

Jitter algorithm: