Please put your answer in the chat!
Housekeeping
ggplot
Data viz questions
Data viz exercise
Next week
Zoom links for live sessions and co-working sessions
Check in on co-working sessions
Feedback location
Ally
Live session during catch-up week (October 22) on using AI with R. Email us your questions!
== and lowercase x and yWhy is it that the
color=option is treated differently bygeom_pointandgeom_col? The logic seems inconsistent here sincecolor=is used as if it isfill=bygeom_point. What if I want the scatter plot to have black dots with outline color different by island?
You want a scatter plot of bill_length_mm vs. bill_depth_mm with black-filled dots whose outline color differs by island. Which geom_point() call does this?
geom_point(aes(color = island), fill = "black")geom_point(aes(color = island), fill = "black", shape = 21)geom_point(aes(fill = island), color = "black")geom_point(aes(outline = island), color = "black")You want a scatter plot of bill_length_mm vs. bill_depth_mm with black-filled dots whose outline color differs by island. Which geom_point() call does this?
geom_point(aes(color = island), fill = "black")geom_point(aes(color = island), fill = "black", shape = 21)geom_point(aes(fill = island), color = "black")geom_point(aes(outline = island), color = "black")I wanted to do this as a horizontal bar chart rather than a vertical column chart, but I couldn’t figure out how to adjust the placement of the labels so that they were legible.
Is there a way to remove the legend altogether?
You’ll be learning about Quarto!
Course assignment: learn the basics of Quarto
Project assignment: take what you’ve done so far and turn it into a Quarto document