Designing legends with redundant coding for line graphs

  • In line plots, we could change the line type (solid, dashed, dotted, etc.) but often yields sub-optimal results especiallly for lines that are not straight.
  • Also in the following example, notice that the perceived order of the data lines differs from the order of the companies in the legend.

  • To fix this problem: by manually reordering the entries in the legend so they match the preceived ordering in the data.