Exploratory data visualizations
Class 9 | Mar. 22, 2017 |
Exploratory visualizations
Presentations
- Going over the Midterm
- Choosing the right method to visualize data
- Introduction to ggplot2 part 1
- Introduction to ggplot2 part 2
- Modifying ggplot2 scales
- Modifying ggplot2 themes
Homework
Read
Type | Where | Details |
Reading | Bristol Herald Courier | Underfoot, out of reach |
Lab
- Chapters 1 and 2 (out of 4) Exploratory Data Analysis in R
- Make a chart with this data
The file stlouiscrime.csv contains crime statistics for the month of January 2016 and 2017.
Create one of these charts using ggplot2 (you may need to use stat=”identity” in your geom choice )
(1) A graph based on the January 2016 data
(2) A graph based on the January 2017 data
(3) A graph that displays differences between the two years
Feel free to be creative. What do you want to display and highlight? Do you want to use raw counts (the spreadsheet) or rates? Do you want to use all the data or a portion of the data? Do you want to reorganize or collapse the data?
Use ggplot2 and feel free to experiment with options, themes, plot type. You want to create a visualization that tell a story.
Try to make these visualization publication ready: include titles, captions sourcing data, clear and understandable labels.
Write a description of:
- What you are trying to convey in these charts
- The decisions that you made in the process.
- Any additional information would you need to make these charts more informative
- Paste the graphs and your description into a Google Doc
- Or save it into a Word document. Name the file firstinitial_lastname and email to me or save it to the HW drive
- DUE before class Mar. 29