Line Charts


Usage

A line chart or line graph is a type of graph displaying a series of data points connected together with a line. Used to to help understanding the underlying patterns that those values represent. Mostly, color is used to indicate the different sets of data in the chart. The chart usually includes a legend which matches sets of data to their corresponding colored lines.


Problems

Problems arise when there is no clear method of matching two or more colors of the lines in the chart to their corresponding values and category names in the legend. This confuses color blind and sometimes makes it impossible to use the chart.


Examples

Television in the United Kingdom (source »)

There is a great number of line charts used on wikipedia. This one, explaining the viewing share of channels illustrates how impossible line charts can be for color blind.

All types of color blind have trouble using this chart. There are too many lines with too many colors that look alike. The colored squares in the legend are too small, this makes recognizing and comparing the colors even harder. Because of these problems, there is no way of matching the individual lines with the legend, making the chart completely unusable.


Solutions

Solutions should focus on preventing confusion and mistakes by adding information about the available or picked colors. This can be done in multiple ways. Combining these solutions works even better.

Solution 1: Incorporate the legend in the chart

By placing the labels from the chart next to the corresponding lines, color blind have a better visual connection between the chart and data. The color blind can now rely on something other than color alone.connection

Solution 2: Use mouse-over hints to connect the legend to the chart

While one of the more technologically involved solutions, this leaves the chart intact but gives an mouse-over with extra information when needed. During the mouse-over, the legend gets matched to the line in the chart the user is hovering over at that moment. This can be a label in the chart with the name of the segment, lighting up the color in the chart and legend, or another way to clarify the link between the chart and the legend.

mouseover

Solution 3: Use different shapes and icons

By using shapes or icons for the plotted points, color blind now have something other than color to rely on. Doesn’t work for every chart, as some don’t use plotted points.

shapes

Solution 4: Use colors easy to distinguish

Use very clear colors with good contrast. Most of all, try to avoid the high priority confusion colors. More information »

  • SharonADH
    how many lines are max??
  • Indeed, I forgot, thanks! I'll add it as soon as possible
  • Name
    you leave out the suggestion to use different line patterns: solid line vs. dotted vs. dashed vs hatched etc.
blog comments powered by Disqus