All playgrounds

K-Means Clustering

beginner5-10 min

Watch k-means clustering find groups in data. Step through centroid updates and assignment as the algorithm converges on clusters.

0/3 discoveries

Choose a team

Use Step to place centers, then Step again to assign points.

Interactive workspace

Take the model apart.

Click a piece. See its job in slow motion.

Preparing your experiment

Loading the model and its controls…

Made for curious minds.

Explore k-means clustering with an interactive model running in your browser.

Find your next experiment →