Public
Edited
May 13, 2023
1 fork
1 star
Insert cell
Insert cell
Plot.plot({
aspectRatio: 1,
x: {tickSpacing: 80, label: "x →"},
y: {tickSpacing: 80, label: "↑ y"},
color: {type: "diverging", legend: true, label: "sin(x) cos(y)"},
marks: [
Plot.contour({
fill: (x, y) => Math.sin(x) * Math.cos(y),
x1: 0,
y1: 0,
x2: 6 * Math.PI,
y2: 4 * Math.PI
})
]
})
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