Public
Edited
May 1, 2023
Insert cell
Insert cell
Insert cell
data
X
formula
Y
month_in
Color
value
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.text(data, { x: "formula", y: "month_in" , fill: 'formula', text: 'value'}).plot()
Insert cell
data
X
month_in
Y
Color
formula
Size
Facet X
Facet Y
formula
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.auto(data, { x: "month_in", color: "formula", fy: "formula" }).plot({
x: { type: 'ordinal' },
height: 500,
color: { legend: true }
})
Insert cell
data
Type SQL, then Shift-Enter. Ctrl-space for more options.

Insert cell
data
X
month_in
Y
value
Color
formula
Size
Facet X
Facet Y
Mark
area
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.auto(data, {
x: "month_in",
y: "value",
color: "formula",
mark: "area"
}).plot({ color: { legend: true } })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
JSON.parse(unpivot.to
Insert cell
data = unpivot.objects()
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