Clustering Playground
Compare centroid, density and hierarchical clustering while watching the clusters form step by step.
What to observe while you experiment
Clustering algorithms define “group” in different ways: K-Means prefers compact centroid-based groups, DBSCAN uses dense neighbourhood connectivity, and hierarchical methods merge or split according to a linkage rule. There is no target label telling the algorithm the correct grouping.
Experiment deliberately
Use moons or outlier-rich blobs. Predict which method should struggle and explain the failure in terms of its definition of a cluster.
Ready.
Cluster geometry
Colours are discovered labels, not ground-truth classes.
Algorithm state
K-Means alternates assignment/update; hierarchical clustering merges the closest clusters; DBSCAN expands density-connected regions.