Published
Edited
Apr 24, 2021
1 star
Insert cell
Insert cell
svg`<svg width="200" height="100">
<rect x=${x} y=${y} width="30" height="10" fill="red"/>
</svg>`

Insert cell
Insert cell
viewof y = slider({
min: 0.0,
max: 100,
value: 10,
description: "y"
})


Insert cell
import {slider} from '@jashkenas/inputs' // slider library, used for x and y here
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