Public
Edited
Oct 31, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
x:{domain:[-10,10]},
y:{domain:[-2,2]},
marks:[
Plot.ruleX([-10]),
Plot.ruleY([0]),
Plot.line(x,{x:x,y:y,stroke:"red"}),
Plot.dot([[x0,f(x0)]],{r:5, fill:"black"}),
Plot.line(x,{x:x,y:Y1}),
Plot.line(x,{x:x,y:Y2, strokeDasharray:"5,5", stroke: "blue"})
]
})
Insert cell
Insert cell
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