Type Table, then Shift-Enter. Ctrl-space for more options.
pizzaorders
X
orders
Y
state
Color
category
Size
—
Facet X
category
Facet Y
name
Mark
bar
Type Chart, then Shift-Enter. Ctrl-space for more options.
Plot.plot({
marks:[
Plot.barY(pizzaorders,{x:"category",y:"total"})
],
width
})
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.