K-Means Clustering Visualizer

Click canvas to add points, generate data, or upload CSV � watch K-Means converge

Scatter Plot

Points: 0K: 3

Click on canvas to add points manually

Settings

3

Controls

Iteration 0

Metrics

Iteration

0

SSE

0.0000

How it works

Assign: Each point is assigned to the nearest centroid.

Update: Each centroid moves to the mean of its cluster.

SSE: Sum of squared errors measures clustering quality � lower is better.