Published
Edited
Jan 23, 2021
Also listed in…
JavaScript Tips
Insert cell
md`# Scrubber Test`
Insert cell
Insert cell
viewof scrub_height = Scrubber(numbers, {loop: false})
Insert cell
viewof scrub_width = Scrubber([...numbers].reverse(), {alternate: true})
Insert cell
{
let retval = html`<div style="height:${scrub_height}px; width:${scrub_width}px; border: 2px solid black; background-color: tan;">A Div</div>`
yield retval
}
Insert cell
md`# Imports`
Insert cell
import {Scrubber, numbers} from "@mbostock/scrubber"

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