Easy to understand/explain toy data set, though one may not want to code this in c# from scratch, as the author feels.
some ready to use functions (on random data)
loading data from file
X = np.loadtxt(filename, delimiter=’t’,dtype=np.float64)
plotting using matplotlib
choosing colors using itertools.
another example on visualizing the clusters.