Published
Edited
Sep 1, 2021
1 fork
Insert cell
Insert cell
Insert cell
Plot.plot({
x:{domain:[0,50]},
y:{domain:[0,250]},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.dot(mpg,{x:mpg,y:hp,fill:"steelblue",stroke:"black"})
]
})
Insert cell
mpg = cars.map(d => d.Miles_per_Gallon)
Insert cell
hp = cars.map(d => d.Horsepower)
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