Image scatterplot

Based on a plot by Robert Lesser that shows the favorability of U.S. presidents over time.

<Plot grid inset={20}>
    <RuleY y={0} />
    <Image
        data={presidents2}
        x="First Inauguration Date"
        y={(d) =>
            d['Very Favorable %'] +
            d['Somewhat Favorable %'] -
            d['Very Unfavorable %'] -
            d['Somewhat Unfavorable %']}
        src="Portrait URL"
        width={30} />
</Plot>

Open in Svelte playground

Improve this page
Last update at: 2025/11/24