The library currently supports interactive line charts and scatterplots, whenever the graph scale is modified the function is evaluated again with the new bounds, result: infinite graphs!
Thanks to @liuyao12 for the initial version of the Observable notebook, you can check his own version here https://beta.observablehq.com/@liuyao12/function-plot
npm install function-plot
import functionPlot from 'function-plot' functionPlot(options)
2015-2020 MIT © Mauricio Poppe