Published
Edited
Aug 23, 2022
Importers
Insert cell
Insert cell
Insert cell
viewof testView = new NormalView(0.5)
Insert cell
viewof testRangeA = Inputs.range([0, 1], {label: "input", format: x => x.toFixed(2)})
Insert cell
viewof testRangeB = Inputs.range([0, 1], {label: "input", format: x => x.toFixed(2)})
Insert cell
connect([
{ target: viewof testRangeA, fn: x => x, ifn: x => x },
{ target: viewof testRangeB, fn: x => 1 - x, ifn: x => 1 - x }],
viewof testView)
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