Plot.plot({
insetRight: 10,
height: 790,
style: "overflow: visible;",
marks: [
Plot.dot(
ipos,
Plot.dodgeY({
x: "date",
r: "rMVOP",
title: (d) => `${d.NAME}\n${(d.rMVOP / 1e3).toFixed(1)}B`,
fill: "currentColor"
})
),
Plot.text(
ipos,
Plot.dodgeY({
filter: (d) => d.rMVOP > 5e3,
x: "date",
r: "rMVOP",
text: (d) => (d.rMVOP / 1e3).toFixed(),
fill: "white",
pointerEvents: "none"
})
)
]
})