Just published d3-scale-cluster. It’s a custom #d3js scale powered by a 1-dimensional clustering algorithm.

medium.com/@dschnr/using-clustering-to-create-a-new…