This hand-written well-organized document explains clustering and K-Means algorithms with multiple examples of 1-D data (set of values) and 2-D data (table of values).