mauriciopoppe/function-plot
mauriciopoppe/function-plot has 1,068 GitHub stars and 123 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 10:44 UTC. Last push 2026-10-11.
A versatile 2d function plotter
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalfunction-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!
Installation
npm install function-plot
Usage
import functionPlot from 'function-plot'
functionPlot({
target: '#root',
data: [
{
fn: 'x^2',
derivative: {
fn: '2*x',
updateOnMouseMove: true
}
}
]
})
Check all the examples in the homepage
Resources
License
2015-2023 MIT © Mauricio Poppe
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,306 starspublic-apis/public-apis
A collective list of free APIs
497,555 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
446,374 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,246 stars