Plot.plot({
facet: {
data: aapl,
y: d => (d.Date.getUTCDay() % 2) === 0
},
marks: [
Plot.lineY(aapl, {x: "Date", y: "Close"}),
Plot.ruleX(aapl, {x: "Date", facet: false, strokeOpacity: 0.1}),
Plot.ruleX(aapl, Plot.pointerX({x: "Date", facet: false, stroke: "red"})),
]
})