Is there a way to produce a chart with an X, Y coordinate system similar to a graphic calculator? Could I run an equation thru some evaluation where I use the results and build an array of datapoints and get a graph back.
You can use JavaScript eval() function to evaluate an expression. According to user input expression generate dataPoints and render chart. Please take a look at this jsfiddle.