Unlisted
Edited
Feb 16, 2023
Insert cell
Insert cell
Insert cell
integers = d3.range(40).map((int) => ({
/* eslint-disable no-undef */
big1: BigInt(int),
big2: BigInt(int * int)
}));
Insert cell
bigint1 = Plot.auto(integers, { x: "big2" }).plot()
Insert cell
bigint2 = Plot.line(integers, { x: "big1", y: "big2", marker: "circle" }).plot()
Insert cell
bigintLog = Plot.tickX(integers, { x: "big2", stroke: "big1" }).plot({
x: { type: "log" }
})
Insert cell
bigintOrdinal = Plot.cellX(integers.slice(1, 11), {
x: "big1",
fill: "big1"
}).plot({ color: { type: "log", legend: true } })
Insert cell
Plot1279 = FileAttachment("plot.umd.min.js").url().then(require) // d2b355e75a8ef6224c31c48a238b27e2820d779c
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