Published
Edited
Aug 21, 2022
Fork of Grid inputs
Insert cell
Insert cell
Insert cell
viewof count = slider({title: 'n Number', min: 1, max: 50, step: 1, value: 10})
Insert cell
Insert cell
viewof test2 = grid(
{numStates:2,
init: createArray(count,count+1)}
)
Insert cell
Plot.plot({
x:{domain:[0,11],label:"x"},
y:{domain:[0,11],label:"y"},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0])
]
})
Insert cell
Insert cell
Insert cell
Insert cell
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