: A data analyst uses the aes() function to define the connection between their data and the plots in their visualization. What argument is used to refer to matching up a specific variable in your data set with a specific aesthetic? View
: Fill in the blank: You can use the _____ function to put a text label on your plot to call out specific data points. View
: You are working with the diamonds dataset. You create a bar chart with the following code:ggplot(data = diamonds) +geom_bar(mapping = aes(x = color, fill = cut)) +You want to use the facet_wrap() function to display subsets of your data. Add the code chunk that lets you facet your plot based on the variable color.facet_wrap(~color)How many subplots does your visualization show? View
: What function creates a scatterplot and then adds a small amount of random noise to each point in the plot to make the points easier to find? View
: You are working with the diamonds dataset. You create a bar chart with the following code:ggplot(data = diamonds) +geom_bar(mapping = aes(x = color, fill = cut)) +You want to use the facet_wrap() function to display subsets of your data. Add the code chunk that lets you facet your plot based on the variable cut.facet_wrap(~cut)How many subplots does your visualization show? View
: Fill in the blank: The _____ creates a scatterplot and then adds a small amount of random noise to each point in the plot to make the points easier to find. View
: A data analyst creates a scatterplot with a lot of data points. The analyst wants to make some points on the plot more transparent than others. What aesthetic should the analyst use? View
: A data analyst creates a plot using the following code chunk:ggplot(data = penguins) +geom_point(mapping = aes(x = flipper_length_mm, y = body_mass_g))Which of the following represents a variable in the code chunk? Select all that apply. View