A simple JavaScript snippet for plotting an array of (x,y) cordinates on an HTML canvas.