Everyone knows 2-1 is a fastball count, but we wanted to go deeper.

What it does

2016 Pitch Explorer lets you explore every pitch thrown in the 2016 MLB season. You can customize any baseball situation by balls, strikes, outs, runners on base, and more, and view the distribution of all pitches thrown.

How we built it

We used the 2016 pitch-by-pitch MLB data available on Google Big Query. We built it using R for data preprocessing and using Shiny for the webapp.

Challenges we ran into

The data was not necessarily in the format that we required for analysis. We had to derive new fields for the variables we were interested in.

Accomplishments that we're proud of

Pitch Explorer is a useful tool that shows lots of variation in pitches thrown depending on the situation, as expected.

What we learned

In a 3-0 count, a fastball is almost certain to come.

What's next for 2016 Pitch Explorer

We would like to expand to other seasons, and add more variables to drill-down into the data.

Built With

  • r
  • shiny
Share this project: