Overview
The player comparison tool allows you to analyze up to multiple players side-by-side, comparing their statistics across different time periods and categories.Adding Players to Compare
Build your comparison list by selecting players throughout the app.Find the Compare Toggle
Look for the split icon (two diverging paths) on player pages and in search results. It’s labeled Compare on larger screens.
Select Players
Click the compare toggle to add a player to your comparison list. The icon will fill in and change color to indicate the player is selected.
Using the Comparison Page
Once you’ve selected players, navigate to the comparison page to analyze their stats.Select Stat Group
Choose your stat category from the Group dropdown:
- hitting - Batting statistics
- pitching - Pitching performance
- fielding - Defensive metrics
Choose Stats to Display
In the Stats section:
- Browse available statistics for your selected group
- Check boxes next to stats you want to compare
- Use Toggle all to quickly select/deselect all stats
- Stats are organized in columns for easy scanning
Customizing Comparisons
Filtering by Season
When selecting Season or Projected type:- The Season Picker appears below the type selector
- Click left/right arrows to navigate between seasons
- Stats automatically update for the selected season
Filtering by Date Range
For By date range comparisons:- Enter Start Date in YYYY-MM-DD format
- Enter End Date in the same format
- Date range is limited from 1901-01-01 to next year
Filtering by Opposing Team
For vs Team comparisons:- Select a team from the opposingTeamId dropdown
- Choose All teams to see stats against all opponents
- Teams are listed alphabetically by abbreviation
Reading the Comparison Table
The comparison interface displays:Player Columns
Each player appears in their own column with:
- Player headshot
- Full name (clickable link to profile)
- Stat values in rows below
Stat Rows
Each row represents one selected statistic:
- Stat name appears in the leftmost column
- Values display in lowercase with first letter capitalized
- Best values are highlighted with accent background color
The table scrolls horizontally on mobile devices to accommodate multiple players. Swipe left/right to view all columns.
Managing Your Comparison List
Removing Players
To remove a player from comparison:- Navigate to their player page
- Click the filled compare icon to deselect them
- They’ll be removed from the comparison page automatically
Clearing All Players
Remove players individually - there’s no bulk clear option. Simply deselect the compare toggle on each player’s page.Advanced Features
Available Statistics
The stats selector shows only stats relevant to the selected group (hitting, pitching, fielding) and filters to enabled statistics from the MLB API. Common hitting stats include:- avg (batting average)
- homeRuns
- rbi (runs batted in)
- hits
- stolenBases
- slg (slugging percentage)
- era (earned run average)
- whip (walks + hits per inning pitched)
- strikeOuts
- wins/losses
- saves
URL Persistence
Your comparison selections are saved to the URL, allowing you to:- Bookmark specific comparisons
- Share comparison links with others
- Navigate back to previous comparisons
Next: Explore Statistics
Learn how to navigate and understand player statistics throughout the app.