Published
Edited
May 30, 2018
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
"in a new cell`Merge this cell with the following cell using the mouse.`md`Merge this cell with the previous cell using the mouse.`?md`Merge this cell with the following cell using the keyboard.`md`Merge this cell with the previous cell using the keyboard.`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// y = "yes"
Insert cell
Insert cell
// x = 12 // Uncomment to create a duplicate definition of x.
Insert cell
// { x = 12; } // Uncomment to assign to x.
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
var z = 13;
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Complete me!
d3.
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// It’s a trick question: you can’t! The cells reference aapl, so they wait until aapl resolves. This is true regardless of the order of cells in the notebook because Observable runs cells in topological rather than top-down order.
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// p
Insert cell
Insert cell
// p.style.color = "blue" // Uncomment this to mutate p.
Insert cell
Insert cell
greet("Fred")
Insert cell
// function greet(subject) {
// return md`Hello, ${subject}!`;
// }
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// md`${seconds} seconds have elapsed.`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// yield* array
Insert cell
Insert cell
Insert cell
Insert cell
// tex`t = ${t.toFixed(6)}`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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