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