Public
Edited
Feb 27, 2023
Insert cell
Insert cell
vl.markCircle({size:size,stroke:"black",fill:color})
.width(200)
.height(200)
.data(data)
.encode(
vl.x().fieldQ("x").scale({domain:[0,10]}),
vl.y().fieldQ("y").scale({domain:[0,10]})
)
.render()
Insert cell
viewof color = radio({options:choices,value:"red"})
Insert cell
viewof x = slider({max:10,step:1})

Insert cell
viewof y = slider({max:10, step:1})
Insert cell
viewof size = slider({max:2000, step:1})
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