A javascript visualization of the k-means clustering algorithm