MUSA-620-Spring-2017 / MUSA-620-Week-9

MUSA 620, Week 9: ggplot2
1 stars 2 forks source link
crime data-visualization ggplot2 japan-population-pyramid

Week 9: ggplot2

Japan Population Pyramid

Japan Population Pyramid, 1990-2050

Links

US Census API key -- Qatar pyramid example (code)

ggplot2 cheat sheet

Color Brewer

Below are three videos I've mentioned in class, all of which I will be touching on next week -- watching them is highly recommended, but not required

The West Wing: Mercator vs Gall-Peters projection - A great intro to map projections. This week, Boston became the first city to introduce the Gall-Peters projection in public schools.

Hans Rosling: The best stats you've ever seen - Outstanding presentation in every respect. See if you can count how many dimensions are visualized in the graphic.

The Fallen of WWII - "Cinematic" data visualization by Neil Halloran, a fellow Philadelphian. Created using only Javascript.

Assignment

Create an animated choropleth map that displays the density of crimes across Philadelphia's Census tracts, year-by-year from 2009 to 2016.

This assignment is required. You may turn it in by email (galkamaxd at gmail) or in person at class.

Due: 29-Mar extended to 5-Apr

Deliverable:

The final deliverable should include:

Task:

This assignment is more open-ended than the previous ones. Given all the tools you now have under your belt, you have many options for how you complete the assignment. Several possibilities are suggested below, but if you have a different method, you are welcome to use it.

Downloads:

1. For each Philly census tract, calculate the number of crimes that occurred there during each year, 2009 to 2016.

For this step, you have several options.

2. Visualize the crime as an animated choropleth

Tips

Extra Credit

Extra credit for building a map that shows the crime month-by-month (12 months x 8 years = 96 total map frames). This should be done in a systematic way, not by manually copying and pasting the same code 96 times.