Home▸Data Science▸Silhouette Width: Per-Point Scores of a k-Means Clustering (2D)

Silhouette Width: Per-Point Scores of a k-Means Clustering (2D)

A scatter of points coloured by k-means cluster beside the sorted silhouette bar of every point. Same shared model and checks as the 3D page.

Data Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Silhouette Width: Per-Point Scores of a k-Means Clustering (2D) ↗ Open standalone

Ask k-means for a number of clusters and score every point by how much closer it is to its own cluster than to the next one. Change the true number of groups, how far apart they sit and the k you request, and see the per-point silhouette, the mean silhouette against k and why the elbow of the inertia curve is not enough. A Blender-built plotting easel with a hand-computed example, scale invariance, range and Lloyd monotonicity checks built in.

⚙ Under the hood

A scatter of points coloured by k-means cluster beside the sorted silhouette bar of every point. Same shared model and checks as the 3D page.

Silhouette Scorek-MeansCluster ValidationGaussian MixtureModel Selection

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)