Published
Edited
Feb 20, 2018
4 forks
8 stars
Insert cell
Insert cell
mutable x = 0 // Define a mutable and set its initial value.
Insert cell
Insert cell
md`The current value of *x* is: ${x}` // Reference a mutable value
Insert cell
Insert cell
{
const button = html`<button>Increment <i>x</i></button>`;
button.onclick = () => ++mutable x;
return button;
}
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