Plot.plot({
x: {inset: 20, label: "First inauguration date →"},
y: {insetTop: 4, grid: true, label: "↑ Any opinion (%)", tickFormat: "+f"},
marks: [
Plot.ruleY([0]),
Plot.image(presidents, {
x: "First Inauguration Date",
y: (d) => d["Very Favorable %"] + d["Somewhat Favorable %"] + d["Very Unfavorable %"] + d["Somewhat Unfavorable %"],
src: "Portrait URL",
r: 20,
preserveAspectRatio: "xMidYMin slice",
title: "Name"
})
]
})