block by thadk 37ff4c03358b414acd1e

ckmeans & now deprecated Jenks Natural Breaks with simple-statistics and d3

Full Screen

Demonstrating jenks natural breaks implemented in simple-statistics. “Ckmeans clustering is an improvement on heuristic-based clustering approaches like Jenks.” It is “a dynamic programming approach to the problem of clustering numeric data into groups with the least within-group sum-of-squared-deviations”

Rendered by d3js, based on an example by Mike Bostock and Tom MacWright’s original comparison with quantize.

More on ckmeans is in the Simple-Statistics documentation. Also see the PR removing Jenks here and the original narrative on how Jenks algorithm was reimplemented through Tom’s literature review.

index.html