block by Kcnarf c13da7160e8d8f64d467df8988043d1f

Custom Beeswarm

Full Screen

This block experiments a way to vizualise the distribution of things (whatever it is) in a horizontal way (ie. along the x-axis), where constraints/objectives are:

In previous blocks (1, 2), I tried the Force Layout.

Now I try to implement my own arrangement algorithm (with the secret objective that it will be faster than using the Force O_° … and, hopefully, it is).

The resulting arrangement can be used as-is (shown in this example), or can be a good starting point before applying the Force. In this later case, final arrangement with the Force will be obtained faster than with the random default arrangment.

The algorithm is:

Acknowledgments to:

index.html

data.csv