Attached is a set of data representing clusters. I will need a working example (using Javascript and/or jQuery) that output code for 2 and 3 cluster sets and plot out the data on a line (indicate cluster sets by different colors). Use a unique symbol (your choice) to identify the centroids.
I know there are plenty of JS examples - you can borrow what you can but please do not copy/paste.