Guidelines
Suggest edit

Use colorfields instead of line charts when similarity should tolerate local time warping

For similarity comparison in ordered-time views, use colorfields on time-series displays instead of line charts to improve readability and mitigate slower candidate scanning for viewers matching temporally warped patterns.

  • purpose:select
  • basis:empirical
  • task:compare
  • time:ordered-time
  • chart:heatmap:use
  • chart:line:avoid
  • quality:readability:use
  • lever:chart-family

advice

Choose the time-series chart family for warping-sensitive similarity search

Use a colorfield instead of a line chart when viewers must quickly choose which candidate time series is most similar to a query and local stretching or shifting in time should still count as similar. For example, show the query and candidates as stacked colorfield strips rather than stacked line traces when the task is to pick the closest match under a dynamic-time-warping style notion of similarity.

reason

Why the chart swap works

Colorfields let viewers scan bands of similar color quickly in this task, while line charts require more trace-following across the same time window.

Mechanism: A colorfield turns the search into a faster comparison of colored regions across candidates, which speeds up choosing the closest overall pattern when local temporal shifts or stretches are present.

Evidence: In the time-warping experiment, colorfields were faster than line charts for choosing the most similar time series to a query, with mean completion times of 15.6 seconds for colorfields versus 20.5 seconds for line charts, and the collated result ranks the colorfield condition ahead of the line-chart condition with a significant pairwise difference (Gogolou et al., 2019; Zeng & Battle, 2023).

Notes: This is a speed guideline, not a blanket claim that colorfields are always the best similarity display.

context

Use when these conditions all hold

  • User Goal: Choose the most similar candidate time series to a shown query.
  • Task: Visual similarity comparison where local temporal stretching or shifting is part of the intended match.
  • Data: Multiple time series shown over the same time window and common scale.
  • Chart Setting: Stacked small-multiple views with comparable vertical space per series.
  • Audience: Viewers making subjective similarity choices rather than reading exact values.
  • Success Criterion: Faster selection of the closest matching pattern.

exceptions

Do not use when these conditions hold

  • Break it when: Amplitude or vertical-offset variation is the main deformation you need viewers to ignore. Why: The speed advantage over line charts disappeared in the normalization condition.
  • Break it when: The chart is not being used for query-to-candidate similarity choice. Why: The evidence only covers selecting the most similar series from a small set of candidates.

costs

Know the tradeoffs before you swap

Sacrifice: You give up the direct traced-line view of the signal. Risk: A faster colorfield view can still make stretched or compressed candidates look less similar if viewers focus on the width of colored regions. Mitigation: Test the colorfield on representative similarity prompts before adopting it as the default view.

mistakes

Watch for this failure mode

Mistake: Switching to a colorfield for every time-series task because it was faster here. Why it fails: The evidence is specific to query-based similarity comparison, not to all time-series reading tasks.

check

Review the choice with a direct A/B test

Failure Sign: Viewers are slower with line charts when picking the closest match to a query under warped patterns. Quick Check: Show the same query-and-candidates set once as line charts and once as colorfields, then compare which version produces a faster confident choice. Stronger Test: Time a short set of representative similarity judgments with both chart families and compare median completion times before standardizing the display.

fix

Make the revision concretely

  • Replace each line-trace candidate with a colorfield strip for the same time window.
  • Keep the query and all candidates on the same scale and comparable display size while testing the swap.
  • Re-run a timed query-to-candidate similarity check on representative cases before finalizing the chart family.
  • If the speed advantage disappears on your cases, keep the line chart rather than forcing the swap.

References

Gogolou, A., Tsandilas, T., Palpanas, T., & Bezerianos, A. (2019). Comparing Similarity Perception in Time Series Visualizations. IEEE Transactions on Visualization and Computer Graphics, 25(1), 523–533. https://doi.org/10.1109/TVCG.2018.2865077
Zeng, Z., & Battle, L. (2023). A Review and Collation of Graphical Perception Knowledge for Visualization Recommendation. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, 1–16. https://doi.org/10.1145/3544548.3581349