Goals

There are several goals for this project:


Timeline


Dataset

For this project, we will work with the data provided by the pybaseball package, which focuses on baseball data analysis. The package retrieves statcast data, pitching, batting, and team statistics, etc.

Baseball glossary is vast and complicated. To understand the variable, please look them up in this “dictionary”.


Project Options

1. Pitch Arsenal

  • Goal: replicate the Pitch Arsenal application provided by savant.
  • Notes:
    • Must include: a dropdown menu for Season, a dropdown menu for RHP (right-handed pitcher), a dropdown menu for LHP (left-handed pitcher).
      • The values for RHP and LHP menus MUST BE UPDATED after the user selects a season.
        • For example, if season 2020 is selected, then only pitchers played in 2020 will be included as possible choices.
      • Only one pitcher can be selected at the time (one value is selected in either RHP or LHP).
    • Do not have to exactly match the style, choice of graphs, colors, or hovering info (the info displayed while hovering the mouse over the point).

2. Statcast Pitcher Velocity Distribution

  • Goal: replicate the Statcast Pitcher Velocity Distribution application provided by savant.
  • Notes:
    • Must include: a dropdown menu for RHP (right-handed pitcher), a dropdown menu for LHP (left-handed pitcher); instead of an animation (as in the savant application), provide a slider for user to choose the year.
      • The values on the slider MUST BE UPDATED after the user selects a pitcher.
      • Only one pitcher can be selected at the time (one value is selected in either RHP or LHP).
    • Do not have to exactly match the style or colors. Opacity is not needed.

3. Batter’s Left-Center-Right Field Percentage

  • Goal: for each select batter and season, display a similar graph to the one below:

  • Must include: a dropdown menu for Season, a dropdown menu for Team, and a dropdown menu for Batter.
    • The values of Batter MUST BE UPDATED after user selects a season and a team.
      • For example, if season 2019 and the Philadelphia Phillies are selected, only the players on that team should be available in the batter menu.
  • The plot does not have to be exactly the same as the example plot, but must include the data point and highlight the region (left, center, right) with the highest percentage red (or similar color) and must include the percentage label.

4. Your dataset of choice

  • Please note that the dataset you choose have to be approved by the instructor before you start working on your web app!
  • To submit a dataset for approval, you need to send an email to the instructor with the following information:
    • Dataset name, source, and link
    • Your idea of the web app (one of the output of the app must be a plot, there must be at least 2 input choices and they must be dependent on each other).

Project Report

There should be 4 sections in the report:


Grading Rubric

The total points for the project is 100. There are broken down by task:


Submissions


FAQs