Skip to the page

UI

Stat tooltip

Explains a stat in one sentence when you hover over or tap its name.

In use

Kyle Schwarber (PHI)Phillies, designated hitter
StatSchwarberMLB average
Better than average.861.718
Worse than average.235.244
46
1 fewer out than an average first basemanToo few chances to judge−1
Cost 1 run more than an average fielderToo few chances to judge−0.6

Defence is from the 2026 regular season.

Every stat's name in an answer is a button that shows its tooltip.

Anatomy

  1. Stat nameNo underline or icon, with a tap area at least 44px wide and tall.
  2. TooltipAbove the name, in the page's colours reversed, at 13px, at most 18rem wide.
  3. PointerA turned square that points at the name wherever the tooltip moves.

States

Stat nameA soft background appears on hover.
Rest
Hover
Focus

When to use it

Use it on the name of every stat in an answer.

When not to use it

Put only the stat’s fixed definition in it, never a number that isn’t in the answer. Only one tooltip shows at a time.

Accessibility

The tooltip describes its name for screen readers. Keyboard focus shows it, and Escape hides it and returns focus to the name. On a touch screen, a tap elsewhere hides it.

Tokens

In code: Definitions and StatName in src/ds/components/StatName

Tokens
TokenWhat it sets
--ds-textThe tooltip's fill, the page's text colour.
--ds-pageThe tooltip's words, the page's colour.
--ds-tip-maxThe widest the tooltip gets.
--ds-tip-shiftHow far it rises as it shows, and sinks as it hides.
--ds-duration-quickHow long it takes to show and hide.
--ds-tip-turnThe turn of the square that makes its pointer.

What each stat means

Each definition is fixed text, followed by the MLB average for the same games where the answer has it, or else the fixed tiers.

  • "Among the best" is an OPS of .900 or better for a hitter, by the fixed thresholds.
  • "Better than average" is an OPS from .780 up to .900 for a hitter, by the fixed thresholds.
  • "About average" is an OPS from .680 up to .780 for a hitter, by the fixed thresholds.
  • "Worse than average" is an OPS under .680 for a hitter, by the fixed thresholds.
  • A rate is judged only with enough behind it, which means 30 plate appearances for a hitter and 10 innings for a pitcher. Under that, the row says so instead.
  • Tiers such as "Among the best" come from these fixed thresholds, never from the AI.
  • Judgements come from written rules. Costly means the play cut the team's chance to win by 5 points or more. Chance to win is MLB's win probability before and after each play.
  • OPS measures how often a hitter gets on base and how much power he hits with. OPS is on-base percentage plus slugging. An OPS from .680 to .780 is about average, and .900 or better is among the best.
  • Batting average is the share of a hitter's at-bats that end in a hit. Batting average doesn't count walks as at-bats. A batting average from .240 to .270 is about average, and .300 or better is among the best.
  • On-base percentage is how often a hitter gets on base, by a hit, a walk or being hit by a pitch. An on-base percentage from .310 to .340 is about average, and .370 or better is among the best.
  • Slugging is how many bases a hitter gets per at-bat, so a double counts twice as much as a single. A slugging from .390 to .450 is about average, and .520 or better is among the best.
  • ERA is how many earned runs a pitcher gives up every nine innings. ERA counts only earned runs, the ones that score without help from a fielding error. An ERA from 3.50 to 4.50 is about average, and 2.75 or lower is among the best.
  • WHIP is how many walks and hits a pitcher gives up per inning. A WHIP from 1.20 to 1.35 is about average, and 1.00 or lower is among the best.
  • Strikeouts are the batters a pitcher put out on strikes. More is better.
  • Strikeouts are the times a hitter was put out on strikes. Fewer is better.
  • A home run is a hit that clears the fence, or one that lets the hitter round every base and score. More is better.
  • Home runs allowed are the home runs hit off a pitcher. Fewer is better.
  • A run scores each time a player crosses home plate. Runs for a team are all the runs it scored. More is better.
  • Runs allowed are the runs the other team scored. Fewer is better.
  • A hit puts the hitter on base off a ball he hit fair, without the help of an error. More is better.
  • Hits allowed are the hits off a pitcher. Fewer is better.
  • A double is a hit that gets the hitter to second base. More is better.
  • A triple is a hit that gets the hitter to third base. More is better.
  • RBI, or runs batted in, are the runs that score because of what a hitter did at the plate. More is better.
  • A stolen base is a runner taking the next base on a pitch and making it. More is better.
  • A walk sends a hitter to first base after four balls outside the strike zone. More is better.
  • Walks allowed are the hitters a pitcher sent to first base on four balls. Fewer is better.
  • A save is a game a relief pitcher finished while keeping a close lead. More is better.
  • Innings measure how long a pitcher pitched. Innings count three outs each, so 26.1 means 26 innings and one out. More only means more playing time, never better or worse.
  • An error is a misplay by a fielder that lets a hitter or runner get further than he should have. Fewer is better.
  • Plate appearances are every time a hitter came up to bat, walks included. More only means more playing time, never better or worse.
  • A pitcher gets a win when his team takes the lead for good while he is pitching. More is better.
  • A pitcher gets a loss when the other team takes the lead for good while he is pitching. Fewer is better.
  • A costly play is one that cut the team's chance to win by 5 points or more, by MLB's win probability.
  • PCT, or winning percentage, is the share of its games a team has won.
  • GB, or games back, is how far a team is behind the leader of its division. Games back is 0 for the division leader.
  • Outs Above Average counts how many more outs a fielder made than an average fielder would have on the same balls hit to him. Outs above average is 0 for an average fielder. +8 or more is among the best, and under -3 is worse than average.
  • Fielding Run Value adds up all of a player's defence into runs saved or allowed. Fielding run value is 0 for an average fielder. +7.0 or more is among the best, and under -3.0 is worse than average.
  • Framing runs count how many runs a catcher saved by getting borderline pitches called strikes, compared with an average catcher. 0 is average. +6.0 or more is among the best, and under -2.5 is worse than average.
  • Caught stealing above average counts how many more base stealers a catcher threw out than an average catcher would have. 0 is average. +4.0 or more is among the best, and under -2.0 is worse than average.