When a Line Between Observations Has Meaning

Connecting observations suggests a sequence or trend under the chosen x-axis. It can imply a relationship between values in between.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace two possible views
  2. Handle gaps honestly

Trace two possible views

Daily temperature measurements have a time order. Mean temperatures by unordered room name do not normally have a meaningful path through adjacent labels. Ordering events describes intentional order.

Handle gaps honestly

If several dates are missing, use a gap or state any estimation assumptions. A separate point display may better expose irregular sampling. See missing values in a plot.[1][2]

References

  1. Hadley Wickham, Tidy Data ↩
  2. Matplotlib Development Team, Plot Types ↩