Published
Edited
Jul 17, 2021
2 stars
Insert cell
Insert cell
Insert cell
Plot.plot({
x:{domain:[0,10],label:"x"},
y:{domain:[0,10],label:"y"},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.dot(a,{fill:"tomato",stroke:"black",r:5})
]
})
Insert cell
b = [
{x:3,y:7}
]
Insert cell
Plot.plot({
x:{domain:[0,10],label:"x"},
y:{domain:[0,10],label:"y"},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.dot(b,{x:"x",y:"y",fill:"tomato",stroke:"black",r:5})
]
})
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