“Using Clustering to Create a New D3.js Color Scale”

You can use a pricey tool like SPSS or ArcGIS to do your k-means clustering (or jenks natural breaks) before coding your map. But many people don’t have access to such expensive software. Perhaps this tool will help. Can’t wait to check it out…

D3 scales are an immensely useful tool for data visualization and many other applications. In visualization, one common use case is mapping numeric values to a discrete set of colors, as shown in the map below: D3’s quantile and quantize scales are frequently used for this purpose.

Read more at: medium.com

Leave a Reply

Your email address will not be published. Required fields are marked *