Problem
A current value does not show whether a change is unusual or part of a recurring pattern.
Solution
Show the current and comparison periods on the same scale, with the comparison line visually secondary. Label both periods clearly.
Choose a comparison that fits the metric’s rhythm. The previous period, the same weekday last week, and the same season last year answer different questions. Make the selected basis visible on the chart.
Handle incomplete periods, clock changes, and holidays explicitly. Do not let panels with different comparison settings appear to use the same basis.
Use when
People need to compare the shape of activity across periods, especially when the metric follows a cycle.
Don’t use when
The underlying population changed. Comparing this week against last week is meaningless if a marketing campaign doubled acquisition in between, and the chart will look like a product improvement. Also skip it where an anomaly band already encodes expected range more compactly.
Trade-offs
A second period adds visual clutter and more data to load. Small differences can look more meaningful than they are. Holidays and unequal periods can mislead unless the comparison is explained.
Checklist
- What is the comparison base, and is it stated on the chart?
- Does the base align day of week, or does it manufacture a weekly cycle?
- Is the comparison rendered subordinate to the current period?
- Is only some of the page shifted, and would anyone notice?
- Did the underlying population change between the periods?
- How are clock changes, leap days and moving holidays handled?
- Is the difference also available as a number, not only as two lines?
- Is a 4% gap distinguishable from normal variation, and does anything say so?
- Does the comparison survive a time-range change, and does it rescale sensibly?
- Would an anomaly band say the same thing with half the ink?
Compare
Grafana implements this as a per-panel time shift relative to the dashboard range, which is flexible and lets one panel silently compare a different window from its neighbours. Plausible and similar analytics tools make period comparison a page-level toggle, so every number and chart shifts together and the base is displayed once where it cannot be missed. Datadog offers explicit day-before, week-before and month-before overlays as graph options, naming the base in the UI rather than expressing it as an offset someone has to decode. Amplitude pushes past overlays into cohort comparison, which answers the population-changed objection this pattern otherwise has no response to. Cloudflare Radar draws the previous period as a dotted line on the same axis by default, with no control to turn it off. The comparison is how the chart is drawn rather than a feature a viewer has to find, which is the one arrangement where nobody forgets to switch it on.
Related
Delta indicator reduces a period comparison to one value. Time-range picker sets the current window. Cohort grid compares groups at the same age.
Anomaly band summarizes an expected range. Time series displays both periods.