Published
Edited
Oct 27, 2021
1 fork
Insert cell
Insert cell
Plot.plot({
x:{domain:[0,10]},
y:{domain:[0,10]},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.dot(points,{r:5,stroke:"black",fill:"red"}),
Plot.text(points,{dy:20,fontSize:15,text:d => d})
]
})
Insert cell
points = [
[2,3],
[8,7]
]
Insert cell
d = [2,3]
Insert cell
d[0]
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