Public
Edited
Jan 10, 2024
7 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
quantiles = [0.5, 0.75, 0.95, 0.99].map((q) => [
q,
d3.quantile(
data.map((d) => d.price),
q
)
])
Insert cell
data = Object.values(
await (await fetch("https://costcodle.com/games.json")).json()
).map((d) => ({ ...d, price: +d.price.slice(1) }))
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