Published
Edited
Feb 11, 2018
Insert cell
Insert cell
pizza = [dough, sauce, gratedCheese].join(' + ')
Insert cell
dough = Promises.delay(5000, `dough`)
Insert cell
sauceType = 'red'
Insert cell
sauce = Promises.delay(2000, `${sauceType} sauce`)
Insert cell
cheese = {
switch (sauce) {
case 'red sauce':
return 'mozzarella'
}
}
Insert cell
gratedCheese = Promises.delay(1000, `grated ${cheese}`)
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