Published
Edited
Sep 24, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
diff = (x) => Math.abs(scale(x) - linear(x))
Insert cell
Insert cell
scale = d3
.scaleLinear()
.domain([0, 100])
.range([offset, mult * 100 + offset])
Insert cell
linear = (x) => mult * x + offset
Insert cell
import { funplot } from "@mbostock/funplot"
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