Main goal of project is to create example of web application that will enable user to visualize kmens algorithm. As an example of dataset used in clustering is US arrests for which dataset is avalible in R. In order to visualize clustering we will use library factoextra.
First chart visualizes clusters and groupings of points in transformed space. It identifies centroids of clusters and displays it chart. Changing number of clusters changes charts.
Secund chart visualizes silhouette plot R and vertical line in plot is displayed according to number of centroids chosen in Shiny web app.