Skip to the page

Components

Trend chart

A stat month by month as a line in the team's colour, with the MLB average dotted across it.

Example

How has Kirk done month by month?

Alejandro Kirk (TOR) went from a .529 OPS in June to .946 in August.

Dugout looked up the monthly OPS of Alejandro Kirk (TOR) for the 2026 regular season.

Alejandro Kirk (TOR)Blue Jays, catcher

March (14) and April (8) had too few plate appearances to judge.

See the numbers
MonthOPSPlate appearances
March.54714
April.6258
MayDidn't play0
June.52947
July.75667
August.946102
September.74475

The numbers come from the MLB Stats API.

When it's used

Dugout uses it when the answer is how a stat changed over time.

Rules

  • A month the player missed is a gap, never joined across. A month with too few plate appearances is a hollow dot, and the headline never talks about it.
  • A second player is a dashed line in his own team's colour.

Tokens

In code: TrendChart in src/ds/components/TrendChart

Tokens
TokenWhat it sets
--ds-chart-heightThe chart's height.
--ds-chart-dotThe MLB average's dotted line.
--ds-chart-dashA second player's dashed line.
--ds-chart-haloThe light halo under a line on a dark page.
--ds-dot-sizeEach month's dot.