Published unlisted
Edited
Jan 2, 2022
Insert cell
Insert cell
data = [NaN, 0.2, 0, 1, 2, 1 / 0]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot02 = require("@observablehq/plot@0.2")
Insert cell
PlotCoerceInfiniteNaN = FileAttachment("plot@1.umd.js").url().then(require)
Insert cell
Plot644 = FileAttachment("plot@2.umd.js").url().then(require)
Insert cell
Plot.plot({
x: {
type: "log"
},
marks: [
Plot.dotX([0, 0.1, 1, 2, 10])
]
});
Insert cell
Plot.plot({
x: {
type: "linear"
},
marks: [
Plot.dotX([0, 0.1, 1, 2, 10], Plot.map({x: d => d.map(d => Math.log2(d))}, {x: d => d}))
]
});
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