PlotGraph-using-JS Simple code to plot sine/cosine curve using JS canvas. The code lets you select the grid spacing and the function to be plotted.