block by Kcnarf 91c5e84bed1ba6b1541deaa5d5f4f258

ForceLayout - maintain x-position of nodes

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:

This block uses the d3’s Force Layout to achieve these objectives. I re-use the technics illustrated in mbostock’s block in and later by bjtucker’s block, in order to constrain each circle’s x-position while allowing vertical accumulation/aggregation of circles.

Acknowledgments to:

index.html

data.csv