Using clustering to create a new D3.js color scale – David Schnurr – Medium

/using-clustering-to-create-a-new-d3-js-