Public
Edited
Mar 2, 2023
Insert cell
Insert cell
Insert cell
palette = new poline.Poline({
numPoints: 5
})
Insert cell
Plot.plot({
width: width,
height: 180,
color: {
range: palette.colorsCSS,
legend: true
},
marks: [
Plot.dot(carsData, Plot.dodgeY({ x: "weight (lb)", stroke: "cylinders" }))
]
})
Insert cell
palette.colorsCSS
Insert cell
poline = require("poline")
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

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