Public
Edited
Sep 7, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
X = pts.filter(([x, y]) => y >= Y)[0][0]
Insert cell
pts = d3.range(0, 1.001, 0.001).map((x) => [x, f(x, p)])
Insert cell
f = (x, p) => x ** p + Math.sin(2 * Math.PI * x) / 25
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