Cluster Analysis for 2D Points

Cluster analysis groups data elements according to a similarity function. In this case, the similarity function is simply the Euclidean distance function, which allows us to group them into clusters automatically based on how close they are. Drag the points around or vary their number to see how they are grouped into clusters.