Themes

Due by 11:59 PM on Monday, June 28, 2021

Getting started

For this assignment, you’re going to work with data compiled by data journalist Duncan Greere related to 48 Soviet dogs who flew as test subjects in USSR’s space program in the 1950s and 60s. The original data can be found here.

You’ll need to download one CSV file and put them somewhere on your computer or upload them to RStudio.cloud—preferably in a folder named data in your project folder:

To help you, I’ve created a skeleton R Markdown file with a template for this exercise, along with some code to clean up the data a little. Download that here and include it in your project:

In the end, the structure of your project directory should look something like this:

your-project-name\
  05-exercise.Rmd
  your-project-name.Rproj
  data\
    Dogs-Database.csv

To check that you put everything in the right places, you can download and unzip this file, which contains everything in the correct structure:

Task 1: Reflection

Write your reflection for the day’s readings.

Task 2: The ugliest plot in the world

For this assignment, you’re going to forget all the wonderful CRAP design principles you just learned and try your hardest to make the ugliest plot in the world. Modify the color scale and change theme elements to make this plot truly hideous.

Turning everything in

When you’re all done, click on the “Knit” button at the top of the editing window and create an HTML or Word version (or PDF if you’ve installed tinytex and you followed the instructions here for how to make Cairo fonts work with knitted PDFs) of your document.

Include a chunk that uses ggsave() to save the plot to your computer as a PNG file.

Upload the knitted document and the saved PNG file of your plot to iCollege.