Plot.plot({
width: 700,
height: 700,
y: {
axis: null
},
fy: {
axis: "left",
label: null
},
facet: {
data: dataRYGHistoric,
y: "name",
marginLeft: 75
},
marks: [
Plot.areaY(dataRYGHistoric, {
x: "endDateCompiled",
y: "positivityRate",
fillOpacity: 0.2
}),
Plot.lineY(dataRYGHistoric, {
x: "endDateCompiled",
y: "positivityRate",
strokeWidth: 1
})
]
})