Interactive plot showing MLB pitch locations from Statcast using Pandas and SQLite, saving as HTML for viewing through plotly.
Supports both importing local Statcast .csv file and pulling data directly from Statcast using baseball_scraper.
Features:
- Left / Right batter splits per pitch type
- Single or multitple pitch selection
- Pitch velocity on hover
- Local .csv chunk import to Pandas dataframe and SQLite .db using SQLAlchemy
- Direct pull from baseball-savant's Statcast API through baseball_scraper
- Save to HTML via Plotly libraries