Divide a Square into Segments by Clustering
Divide a square into n segments by clustering uniformly distributed random points.
data = RandomReal[{-1, 1}, {1000, 2}];plots = Table[ListPlot[FindClusters[data, n], AspectRatio -> 1, Frame -> True, Axes -> False, FrameTicks -> None, PlotStyle -> Directive[PointSize[Small]]], {n, 9}];GraphicsGrid[Partition[plots, 3]]