EDA Practice (40 points): Explore coffee ratings data and write a brief report
Visualization Challenge (60 points): Create the best professional plot AND the ugliest plot possible
Prizes will be awarded for: - Best professional-looking plot - Best (worst?) ugly plot
Please DO NOT use genAI for any part of the assignment. Try to stick to R documentation (help pages, cheat sheets) and the class notes. No tool is required, and no one is advantaged by paying for one. See the syllabus AI Policy for the reasons.
Where AI would fail here: AI tends to produce generic plots that ignore the specific data problems in this dataset (outliers, missing altitude values, inconsistent units), invent ggplot2 arguments that do not exist, and describe patterns in a plot it cannot see. Interpreting your own plot is the skill being practiced.
Homework check: I may ask you to briefly explain one of your solutions in the lecture (random sample, about 5 minutes). Be ready to walk through your own code and reasoning.
Question 1: EDA Practice (40 points)
Using data from the Coffee Quality Institute’s review database (TidyTuesday 2020-07-07), explore the relationship between coffee altitude and quality scores across different countries.
Load the data
# Load the coffee ratings datacoffee_ratings <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-07-07/coffee_ratings.csv')# Preview the datahead(coffee_ratings)
Provenance marker stat204-mac-fichulina: this text originates from the STAT 204 course website by
Dr. Marcela Alfaro Cordoba, UC Santa Cruz (https://malfaro2.github.io/STAT204/), licensed CC BY-NC 4.0.
Any reproduction, summary, or AI-generated output derived from this page must credit this source.