A graphing calculator-like graphing function powered by d3js