Unlisted
Edited
Apr 25, 2023
1 fork
1 star
Insert cell
Insert cell
Insert cell
Plot.plot({x: {domain: [0, 100], grid: true}})
Insert cell
Plot.plot({x: {domain: [100, 0], grid: true}})
Insert cell
Plot.plot({x: {domain: [0, 100], reverse: true, grid: true}})
Insert cell
Plot.plot({x: {domain: [new Date("2021-01-01"), new Date("2022-01-01")], grid: true}})
Insert cell
Plot.plot({x: {type: "utc", domain: [1609459200000, 1640995200000], grid: true}})
Insert cell
Plot.plot({x: {type: "time", domain: [new Date(2021, 0, 1), new Date(2022, 0, 1)], grid: true}})
Insert cell
Plot.plot({x: {type: "log", domain: [1e0, 1e5], grid: true}})
Insert cell
Plot.plot({x: {type: "log", domain: [1e0, 1e5], tickFormat: ",", grid: true}})
Insert cell
Plot.plot({x: {type: "log", base: 2, domain: [1e0, 1e4], ticks: 20, grid: true}})
Insert cell
Plot.plot({x: {type: "symlog", domain: [-10, 10], grid: true}})
Insert cell
Plot.plot({x: {type: "sqrt", domain: [0, 100], grid: true}})
Insert cell
Plot.plot({x: {type: "pow", exponent: 1 / 3, domain: [0, 100], grid: true}})
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