Function-plot

function-plot

A simple 2d function plotter powered by d3

function-plot helps to render functions with little configuration think of it like a util that would help you to render something like what Google does. y = x * x

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!

Get it : npm install --save function-plot

Sample usage:

1
2
3
var d3 = window.d3
var functionPlot = require('function-plot');
functionPlot({ /*Pass in the options*/ });

Check out the options!

GIF FTW!

function-plot

Suggest a module

Comments