Submission due yesterday at 11:45pm
Very creative!

Peer feedback assigned on GitHub + email this morning
Submissions may not map perfectly to rubric - use your best judgement
Learn from this! What can you adapt for MP#03?
Now online - Due 2025-04-23 at 11:45pm ET
Topic: Creating the Ultimate Playlist
GitHub post (used for peer feedback) AND Brightspace
Three Weeks: don’t wait until the very end
Should be less demanding than MP #01 and MP#02
inner_joinPay attention to the rubric
A personal note, if you allow me:
I’m really enjoying this class - thank you all!
Your effort is not unnoticed - I know this class starts “pedal-to-the-metal” but hopefully you’ve seen just how powerful these tools
R.
More than that - I appreciate your good attitude and willingness to share your frustrations and triumphs. Reading comments on PA quiz this week was uplifting.
I’ve set up a TODO file with everything I want to improve for next cohort.
Suggestions welcome.
Every semester, I create new mini-projects. Ideas and suggestions very welcome
Project should be your main focus for rest of course
Brightspace - Wednesdays at 11:45
RNext pre-assignment is 2025-04-02 at 11:45pm ET
Thank you for FAQs and (honest) team feedback. Keep it coming!
“Datasaurus Dozen”:
install.packages("datasauRus") (Note capital R)library(datasauRus); data(datasaurus_dozen)Create an animated (gganimate) plot:
datasetIf you are having trouble with gganimate, facet instead.
ggplot2First topic: maps!
Install the sf package: Simple Features for Spatial Data
Exercise: Lab #08
| Room | Team | Room | Team | |
|---|---|---|---|---|
| 1 | Team Mystic | 5 | Money Team + CWo. | |
| 2 | Subway Metrics | 6 | Lit Group | |
| 3 | Noise Busters | 7 | Cinephiles + VG | |
| 4 | AI Imp. Coll. |
Due Wednesday at 11:45pm:
Next three weeks:
RTeaching Observation by Prof. Brandwein - Next Week
The tools of this course are powerful and flexible
To learn more ways to apply them, check out ‘Galleries’:
R Graph Galleryshiny Gallerybokeh Gallery (Python)My current side-project: STA 9750 Hall of Frame
Gallery of excellent STA 9750 submissions
Trying to launch next week - will share a ‘sign up’ if you’re interested
ggplot2 - aes()What is the aes function - stands between data and geom_
geom_ takes a fixed set of “coordinates”aes ties these togetherggplot2 - Why do Pie Charts have a bad reputation?fill to convey category - limited categoriesBut honestly - “insider smugness” and hate of Excel
ggplot2 - Plot Type ChoiceFor me:
ggplot2 - Font SizingTheme machinery!
ggplot2 - Overplotting / ScatterBlobsStudent asked about “scatterblobs” - typo(?) but I love it!
ggplot2 - Optimizing PerformanceActive project of ggplot2 team - not much you can do
Practical advice: plot less (see previous slide)
ggplot2 - Beyond Scatter and LineSome favorite semi-advanced plot types:
Deep rabbit hole
ggplot2 - Geospatial VisualizationsThat’s our goal for today!
ggplot2 - High-Dimensional DataHigh-dimensional data: measure many variables per observation (“wide”)
High-dimensional data is hard to visualize
Approaches:
ggplot2 - Creating a Custom ThemeAdvanced:
theme_set() - change ggplot2 defaults.Rprofile - set code to run every time you start Rggplot2 - When Not to Useggplot2 is designed to make good statistical graphics. Sub-par for:
git WTFReference: Happy Git with R