This is an interactive visualization of k-means clustering. K-means is used for clustering data when the number of clusters is known. Try it yourself! Create points on the canvas and select the number of clusters.