Guidelines
Suggest edit

Add zebra shading only to long tables with many columns

For dense tables with many columns, use alternating light row shading on tables to improve row tracking and mitigate accidental jumps between distant columns for readers reading across wide rows.

  • purpose:refine
  • basis:heuristic
  • chart:table
  • quality:readability
  • lever:encoding
  • density:dense
  • channel:color-lightness:use

advice

Alternating row shading

Stripe every second row with a light gray background when a table is long and wide. For example, add zebra shading when readers must connect a value in the first column to one several columns away, and leave it off when the table has only a few columns.

reason

Why row striping helps

Wide tables make it easy for the eye to slip to the wrong row.

Mechanism: Alternating light rows act as guides, so readers can follow one row across multiple columns without accidentally switching rows mid-scan.

Evidence: The post recommends zebra shading for long tables with many columns to reduce accidental jumps between rows, and says it is likely unnecessary or even confusing when a table has only a few columns (Muth, 2019).

context

Use when row tracking is hard

  • User Goal: Read values across the same row accurately.
  • Task: Connect entries from one side of the table to another.
  • Data: Long table with many columns.
  • Chart Setting: Readers must scan from an early column to a later column in the same row.
  • Success Criterion: Readers stay on the correct row while reading across.

exceptions

Do not use on narrow tables

Break it when: The table has only a few columns. Why: The post says zebra shading is then likely unnecessary or even confusing.

costs

Tradeoffs of zebra shading

Sacrifice: You give up a completely plain background.
Risk: On narrow tables, the stripes add a cue readers do not need and can confuse the design.
Mitigation: Reserve striping for tables that are both long and wide.

mistakes

Common striping mistake

Mistake: Adding zebra shading to a table with only a few columns. Why it fails: The extra background signal does not solve a real tracking problem.

check

Check whether row tracking needs help

Failure Sign: It is easy to lose the row while reading from an early column to a later one.
Quick Check: Try following one row from the first column to a far-right column without using your finger or cursor.
Stronger Test: Compare the same wide table with and without light striping and see whether row-following errors drop.

fix

Fix row tracking

  • Add a subtle light-gray background to every second row.
  • Keep the stripe light enough that text remains dominant.
  • Remove zebra shading if the table has only a few columns.

References

Muth, L. C. (2019). What to consider when creating tables. https://www.datawrapper.de/blog/guide-what-to-consider-when-creating-tables