Plot.plot({
marks: [
Plot.gridX({ stroke: "black" }),
Plot.dot(
drugs,
Plot.dodgeY({
x: "marketing_authorisation_date",
fill: "authorisation_status",
title: "medicine_name",
anchor: "middle",
r: 5
})
),
Plot.axisX({ tickSize: 0, fontSize: 15, fontFamily: "Menlo" })
],
height: 600,
width: 1200,
marginBottom: 50,
color: { type: "categorical", scheme: "brbg", legend: true }
})