A visual demo of the k-means clustering algorithm