Full threadktzar·I did a while ago a simple implementation of k-means in Javascript, it shows how the process converges for cluster finding. http://ktzar.github.io/js-k-means-clustering/ code: https://github.com/ktzar/js-k-means-clusteringView on HN