Published unlisted
Edited
Feb 2, 2022
1 star
Insert cell
Insert cell
sfhh = FileAttachment("sfhh.csv").csv({typed: true})
Insert cell
Plot.rectY(sfhh, Plot.binX({y: "count"}, {x: "start"})).plot()
Insert cell
Plot.rectY(sfhh, Plot.binX({y: "count"}, {x: "start", thresholds: d3.utcHour})).plot()
Insert cell
Insert cell
Plot.plot({
y: {
grid: true
},
marks: [
Plot.rectY(sfhh, Plot.binX({y: "count"}, {x: "start", thresholds: d3.utcHour})),
Plot.ruleY([0])
]
})
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