Simulation of K-means Clustering algorithm using P5.JS
I have created the simulation of K-means Clustering algorithm using P5.JS graphics library.
User can insert the data-points as well as cluster centroids on canvas at runtime and simulate how the cluster centroids will converge to centre of respective cluster.
sketch.js contains the core logic for the simulation.