Public
Edited
Nov 30, 2023
Insert cell
Insert cell
Insert cell
Plot.plot({
x:{domain:[0,10]},
y:{domain:[-1.1,1.1]},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.line(x,{x:x,y:y})
]
})
Insert cell
Insert cell
Insert cell
Insert cell
x = {
const x = []
for(let i = 0; i <= 10; i = i + 0.1){
x.push(i)
}
return x
}
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