K-means, live
The clustering from his data-science work, run in the browser, step by step.
Coloured points on a plane with centroids marked by crosses; each step moves the centroids to the mean of their points until they stop.
Drag the points, change k, and step through Lloyd’s algorithm. The inertia number shows how tight the clusters are.