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.
This can overlap the Final Project, but should be different.
Per the requirements, it should use at least one dataset you haven’t used for your Final Project or anything else.
Make it read like a blog post.
State the takeaway(s)
Did you use an external source, including generative AI? Please explain, or say that you didn’t.
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.
Watch:
Watch:
Read Python’s Requests Library (Guide) through
The Message Body
Participation#
Reminder about the between-class participation requirement.