Public
Edited
May 10, 2023
20 forks
7 stars
Insert cell
Insert cell
Plot.plot({
marginLeft: 120,
padding: 0,
y: {label: null},
color: {legend: true, zero: true},
marks: [
Plot.cell(
traffic,
Plot.group(
{fill: "median"},
{x: (d) => d.date.getUTCHours(), y: "location", fill: "vehicles", inset: 0.5, sort: {y: "fill"}}
)
)
]
})
Insert cell
traffic = FileAttachment("traffic.csv").csv({typed: 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