Published
Edited
Sep 25, 2022
2 stars
Insert cell
Insert cell
viewof bouncyAmount = Inputs.range([0, 100], { label: "Amount", step: 1 })
Insert cell
amount = yield Promises.delay(1000, bouncyAmount)
Insert cell
Insert cell
// Always zero!
difference = amount - bouncyAmount
Insert cell
Insert cell
mutable oldAmount = 0
Insert cell
{
mutable oldAmount = amount;
}
Insert cell
bouncyDifference = bouncyAmount - oldAmount
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