Skip to content

Jiayue-Ma/assignment2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Assignment #2

Target date: Thursday, October 10 by 5.15pm Cutoff date: Thursday, October 24 by 5.15pm

Recommended Readings

Reference materials

Exploratory Data Visualization

In this assignment, you'll use matplotlib, seaborn, and altair to explore a dataset of your choosing and generate some charts in a Jupyter notebook.

Part 1: Select a dataset

For this assignment, you can choose your own dataset to explore. I recommend selecting a dataset from OpenDataPhilly. You are welcome to to use a dataset from elsewhere, but please email your instructor and let them know what you want to analyze.

Datasets with timestamped entries will be particularly good for analysis, but there are many interesting datasets to consider. They include:

Many more exist. Some data files can be downloaded in the form of CSV files.

Part 2: Explore and visualize the data

From within a Jupyter notebook, you should explore the datasets and generate charts visualizing different aspects of the data.

Requirements:

  • 1 Matplotlib chart (of any type)
    • You should consider what aspect of the dataset might be best plotted using matplotlib.
    • Include your reasoning for using matplotlib to visualize this specific aspect of the data.
    • You will be graded on the aesthetics of the plot, namely, color choices and clarity.
  • 1 seaborn chart (of any type)
    • Please include the motivation behind your choice for the type of seaborn plot used and why.
  • 3 altair plots
    • Both of the following techniques should be used:
      • A transformation (mean, count, binning, etc)
      • Brush selection
  • Include a short discussion (a few sentences) of the main conclusion of each chart (in a markdown cell below each chart). It does not need to be interesting or insightful, but it is good practice to always note the main conclusions so the notebook make sense after time passes.
  • Extra credit:: 2-chart altair dashboard,
    • This should be in addition to the 3 charts above
    • Filtering on one chart should cross-filter the other chart (via transform_filter())

Note: You may include geospatial charts to satisfy the above requirements, but you are not required to.

Grading Guidelines

See the grading rubric for more details.

Important: Your notebooks should be a polished finished product. For example:

  • Please remove any extra or unneccesary code.
  • Please try to use markdown cells with section headers to mark different sections of the analysis.

Submission

We use GitHub for assignment submission. Invitation link: https://classroom.github.com/a/henMCG33

Your assignment notebook should be added to this GitHub repository before the deadline.

Note: File sizes are limited to 25 MB when adding files to a repository via GitHub in a browser. If your dataset is larger than this, you can try compressing it into a ".zip" to make the file smaller, and then add it to the repository on GitHub. If you run into problems, please email your instructor for help.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors