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])
]
})