Published
Edited
May 9, 2021
8 stars
Insert cell
Insert cell
Insert cell
plot = {
let f_compiled = math.compile(f);
return funplot(x => f_compiled.evaluate({ x: x }));
}
Insert cell
Insert cell
import { Text } from '@observablehq/inputs'
Insert cell
import { funplot } from '@mbostock/funplot'
Insert cell
math = require('mathjs@9')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more