Published
Edited
Feb 20, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof course = select({
options: courses,
value: courses[0]
})
Insert cell
getDay = day => {
const d = Math.max(0, ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"].indexOf(day));
console.log(day, d);
return d;
}
Insert cell
data
Insert cell
Insert cell
Insert cell
{
Tabletop.init( { key: url,
callback: function(_data, tabletop) {
console.log("got data", _data);
mutable data = _data;
},
simpleSheet: true } );
}

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