Type Table, then Shift-Enter. Ctrl-space for more options.
Plot.plot({
x:{
label:"Distance from stage start (km)"
},
y:{
label:"Elevation (m)",
grid:true
},
marks:[
Plot.ruleY([0]),
Plot.line(cars,{x:"year",y:"cylinders"})
]
});
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.