Homework 4#

General and open-ended assignment information

Coding#

For this assignment, you will:

  • Work across datasets

  • Create data visualization(s)

Objective#

You will take two datasets and show a relationship (or lack thereof) in one visualization (chart or map). This can mean:

  • Plotting information from both as separate lines/points — see Plotly docs on:

  • Merging the datasets and plotting a derived measure

  • etc.

Here is a thorough example - yours does not need to be that complex though.

Requirements#

  • Use Python/pandas for everything

    • You can use a spreadsheet program for simple preparation like extracting a table from a larger sheet (explain in the notebook if you do this), but all data cleaning, merging, visualizations, etc. should be done in code.

  • Data from two datasets is reflected in a single visualization

    • There can be additional visualizations

  • The relationship you’re showing doesn’t need to be something novel; replicating something you saw / read / heard about is fine.

  • State the takeaway(s)

Tutorials#

In the videos below, don’t get hung up on mentions of JavaScript, Node.js, or Twilio — those were technologies used for another course.

  1. Watch:

    1. What are APIs?

    2. APIs, Conceptually

  2. Read Understanding And Using REST APIs

  3. Watch:

    1. Let’s look at some data

    2. Data formats

    3. API documentation

  4. Read Python’s Requests Library (Guide) through The Message Body

Participation#

Reminder about the between-class participation requirement.