Published
Edited
Sep 12, 2020
Insert cell
Insert cell
time = {
while(1){
await Promises.tick(1000)
yield html`<div style="color:${color};background:${bg};padding:12px;display:inline-block;font-weight:bold;font-family:'Arial Black';">${new Date().toLocaleString()}`
}
}
Insert cell
color = "#FF5859"
Insert cell
bg = "#F8CDD6"
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