Published
Edited
Dec 27, 2020
Also listed in…
API
Insert cell
Insert cell
Insert cell
html`The counter is now: ${mystuff}`
Insert cell
COUNTAPI = require('https://bundle.run/countapi-js@1.0.1')

Insert cell
output = function(){
COUNTAPI.visits().then((result) => {
showNum( result.value);
});
}
Insert cell
function showNum(n){
mutable mystuff = n;
}
Insert cell
mutable mystuff = 0
Insert cell
{
output()
}
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