Public
Edited
Feb 25, 2024
1 fork
2 stars
Insert cell
Insert cell
Plot.plot({
height: 280,
marginBottom: 35,
x: { interval: "quarter", label: null },
marks: [
Plot.axisX({tickFormat: "Q%q", ticks: 30}),
Plot.axisX({
tickFormat: (d) => (d.getUTCMonth() === 3 ? `${d.getUTCFullYear()}` : ""),
tickSize: 0,
textAnchor: "start",
ticks: 30,
dy: 14
}),
Plot.barY(vacancies, { x: "month", y: "vacancies" }),
Plot.ruleY([0])
]
})
Insert cell
// See https://observablehq.com/@observablehq/plot-job-vacancies
vacancies = FileAttachment("vacancies.csv").csv({typed: true}).then(d => d.slice(106, 127))
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