Plot.plot({
height: 600,
y: {
axis: null
},
fy: {
axis: "right",
label: null
},
facet: {
data: cov1,
y: "prname",
marginRight: 140
},
marks: [
Plot.areaY(cov1, {x: "date", y: "numdeaths", fillOpacity: 0.2}),
Plot.lineY(cov1, {x: "date", y: "numdeaths", strokeWidth: 1})
]
})