Published
Edited
Apr 23, 2020
1 star
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
{
if(!started){
mutable started = true;
startup()
}
return md`The startup method.`
}
Insert cell
{
const startbutton = document.getElementById('startbutton');

startbutton.addEventListener('click', function(ev){
takePhoto();
ev.preventDefault();
}, false);
return md`Handle the button click.`
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mutable pixels = []
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
import {viewof euclid, colorIndex} from '@jonhelfman/lab-palette-extraction-base'
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