Velamuvi AIAcademy

K-Means Visualizer

An interactive K-Means clustering visualiser. Add points, choose K and step through assignment and update phases.

How to use the k-means visualizer

  1. 1Choose K, the number of clusters to find.
  2. 2Press Assign points: each point takes the colour of its nearest centroid.
  3. 3Press Move centroids: each cross jumps to the centre of its points.
  4. 4Repeat, or press Run, until the centroids stop moving.

Private by design: this tool runs entirely in your browser. Nothing you type is sent to our servers.

Learn the ideas behind it

More tools