Takes an array of data points, makes a canvas of it and save as a PNG