Published
Edited
Jul 2, 2020
1 fork
5 stars
Insert cell
Insert cell
5
Insert cell
"hello"
Insert cell
[1,2,3]
Insert cell
({ "item": "banana", "price": 10.00 })
Insert cell
2 * 3 === 6
Insert cell
function hiya() {
return "hello world";
}
Insert cell
hiya()
Insert cell
hello = new Promise((resolve) => setTimeout(() => resolve("hi"), 1000))
Insert cell
hello.toUpperCase()
Insert cell
md`## ${language}-powered Markdown`
Insert cell
language = "Observable"
Insert cell
scream = {
let a = 5;
let string = "";
for (let i = 0; i < a; i++) {
string += "a";
yield string;
}
}
Insert cell
scream
Insert cell
o = {
let o = 0;
while (true) {
if (o >= 1) { o = 0; }
yield o;
o += 0.01;
}
}
Insert cell
html`<p style="opacity:${o}">blink</p>`
Insert cell
d3 = require("d3")
Insert cell
d3.range(0,10)
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