K-Means clustering visualization with HTML5 canvas and Javascript.