Published
Edited
Oct 22, 2021
Insert cell
# Plotting Method Two (Part B)
Insert cell
Plot.plot({
x:{domain:[0,10]},
y:{domain:[0,10]},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.dot([
{x:4,y:7},
{x:8,y:2}
],{x:"x",y:"y",r:7,fill:"orangered",stroke:"black"})
]
})
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