Have ideas to improve npm?Join in the discussion! »

    function-plot
    TypeScript icon, indicating that this package has built-in type declarations

    1.22.7 • Public • Published

    image

    NPM Build Status js-standard-style storybook


    Function Plot is a powerful library built on top of D3.js whose purpose is to render functions with little configuration, think of it as a little clone of Google's plotting utility: 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!

    Edit function-plot

    image,

    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

    Installation

    npm install function-plot

    Examples

    Examples in the homepage

    API

    import functionPlot from 'function-plot'
    functionPlot(options)

    All the available options are described in the docs

    License

    2015-2020 MIT © Mauricio Poppe

    FOSSA Status

    Install

    npm i function-plot

    DownloadsWeekly Downloads

    623

    Version

    1.22.7

    License

    MIT

    Unpacked Size

    747 kB

    Total Files

    71

    Last publish

    Collaborators

    • avatar
    • avatar