Published unlisted
Edited
Jun 17, 2021
Insert cell
# Button test 2
Insert cell
function clicked()
{
console.log("You clicked the button!");
}
Insert cell
button = {
let b = html`<button>Click me!</button>`;
b.onclick = clicked;
return b;
}
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