Public
Edited
Nov 1, 2023
Insert cell
Insert cell
mutable x = ({ foo: 1, bar: 2 })
Insert cell
{
let i = 0;
while (true) {
if (i % 2 === 0) mutable x = { bar: mutable x.bar, foo: i }
yield Promises.delay(1000, ++i);
}
}
Insert cell
x
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