Here’s a scatterplot
library(tidyverse) plot_df = tibble( x = rnorm(100, 2, 3), y = x + rnorm(100) ) plot_df |> ggplot(aes(x = x, y = y)) + geom_point()