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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more