Assignment 04: Data Visualization โ ggplot2 and Beyond
๐ฏ Learning Objectives
By completing this assignment, you will learn to:
- Craft a data-driven narrative using
ggplot2. - Create sophisticated multi-layered plots (e.g., combining
geom_point,geom_smooth,geom_textetc.). - Master advanced aesthetic mappings to convey complex relationships.
- Design custom themes and annotations to create publication-ready visualizations.
- Explore extensions to
ggplot2to create dynamic or composite plots. - Think critically about visualization choices and justify them in a clear, concise manner.
๐ Dataset
Reuse the dataset from Assignment 02 (the one you tidied and wrangled). You already prepared it โ now itโs time to visualize! Or choose a new dataset from TidyTuesday. Especially if itโs a Netflix dataset ๐
๐ The Challenge
Imagine you are a data journalist. Your task is to create a visual story using your dataset.
Your audience: curious readers who donโt know R, statistics, or data science.
Your mission: make the data speak clearly, visually, and persuasively.
Instructions
- Choose a dataset (your tidied dataset from Assignment 02 or a new one from TidyTuesday).
- Identify a compelling story or insight within the data that you want to communicate.
- Create a series of visualizations using
ggplot2(and its extensions if desired) to illustrate your story. Aim for at least 3-5 different plots. - Write a narrative that ties the visualizations together, explaining the insights and significance of each plot.
- Use Quarto to compile your visualizations and narrative into a cohesive document.
Tip
Here are some resources to help you get started:
- The R Graph Gallery โ a collection of hundreds of charts made with R.
- ggplot2 extensions โ explore various extensions to
ggplot2for enhanced functionality. - MetBrewer package for color palettes inspired by works at the Metropolitan Museum of Art: GitHub.
- Slides from seminar (Even More) Exciting Data Visualizations with ggplot2 Extensions by Cรฉdric Scherer
๐ค Submission
Submit the .qmd file, and rendered document (PDF) to the assignment submission portal.