Intermediate
R
Q80 / 100
What does "ggplot(data, aes(x = a, y = b)) + geom_point()" produce?
Correct! Well done.
Incorrect.
The correct answer is B) A scatter plot with column a on the x-axis and column b on the y-axis
B
Correct Answer
A scatter plot with column a on the x-axis and column b on the y-axis
Explanation
ggplot2 builds plots in layers: aes() maps data columns to visual properties (axes), and geom_point() adds a layer of points, creating a scatter plot.
Progress
80/100