I'm trying to create a simple double line graph with a dataset I made. Here's the data:
date <- c("2021-04-06","2021-04-10", "2021-04-14", "2021-04-18")
as.Date(date)
graded <- c(3408, 3572, 3647, 3864)
psa10 <- c(2099, 2130, 2147, 2193)
graded_marvel <- data.frame(date, graded, psa10)
graded_marvel
And here's what I did to try and graph this
library("ggplot2")
graph <- ggplot(graded_marvel, aes(date)) +
geom_line(aes(y = graded), color = "darkred") +
geom_line(aes(y = psa10), color = "blue")
print(graph)
All I get is an empty graph that has the correct values on the axes, but the graph just comes up empty. Not sure what to do. Any help is appreciated!

