Published
Edited
May 18, 2021
Insert cell
Insert cell
diamonds = FileAttachment("diamonds.csv").csv({typed: true})
Insert cell
viewof thresholds = Inputs.range([0, 100], {step: 1})
Insert cell
Plot.plot({
height: 640,
color: {
scheme: "bupu",
type: "symlog"
},
marks: [
Plot.rect(diamonds, Plot.bin({fill: "count"}, {x: "carat", y: "price", thresholds: thresholds}))
]
})
Insert cell
Object.keys(window).filter((k, v) => k[0] == k[0].toUpperCase())
Insert cell
htl
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