Published
Edited
Aug 6, 2018
Importers
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
samples = adaptiveSamples(
(x) => ({ x, y: Math.sin(2*x) * x }),
[0, 2 * Math.PI],
(v) => v.x,
(v) => v.y,
totalSamples,
Math.PI / 10
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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