I am having trouble adding dots to a line graph to represent the population size of the country
This is the full homework problem:In the second graph, represent time on the X axis and GPD on the Y axis, and present the data using a linegraph. Add in dots for each year, with the size of the dots representing the population size for each year.
filter(gapminder, country == "New Zealand")
p <- ggplot(data = gapminder,
mapping = aes(x = time(),
y = gdpPercap))
p + geom_line() + geom_point(aes(size = population))