MLB Playoff Race Tracker - Racing lane visualization of the playoff hunt
Hey everyone,
Just deployed my second Streamlit app - an MLB Playoff Race Tracker that visualizes the playoff race as actual racing lanes where teams move toward the division clinch line.
Links:
Live App: MLB Playoff Race Tracker
GitHub: Repository
Features:
- Racing lane visualization with teams as moving circles
- Real-time MLB standings data via API
- Magic number calculations for division leaders
- Team positioning based on distance from clinching
- Color-coded status (division leader, wild card, eliminated, etc.)
- Live win-loss records and games back display
Built with: Python, Streamlit, Supabase (PostgreSQL), MLB Stats API, deployed on Render
The app processes all 30 MLB teams across 6 divisions with multi-threaded API calls and handles magic number calculations using traditional baseball formulas.
Try it out to see how your team is doing in the playoff race! The visual makes it easy to see who’s pulling ahead and who’s falling behind.
Would love any feedback on the racing lane concept.