Line Charts

Understanding and using Line Charts

Line graphic

Monthly borrower growth

This line chart follows the number of borrowers measured every month over the course of several years.

  • The x-axis represents the date field
  • The y-axis represents the quantitative field
  • The first and last points are labeled for context
  • Labels for each data point are not displayed to reduce clutter
  • Axis and light grid lines are visible to the viewer to help in identifying locations of data points
Line graphic

Borrower growth by gender

This line chart, known as a category line chart, splits the number of borrowers into gender, so two lines are displayed across the course of several years.

  • It uses a strong color to highlight the line for the category being focused on
  • It uses a neutral color for the second line
  • Label colors match the lines for ease of identification
  • The chart is not cluttered with labels

Ineffective examples of Line Charts and Alternatives

Line chart

Poor Example

This line chart looks at the number of borrowers by sector over the course of several years. At first glance, viewers will likely be confused by the many lines and similar colors.

  • This chart has too many lines
  • The lines and colors are too similar for the viewer to distinguish
Line chart

Better Alternative

The better way to explore this data is to highlight one category and deemphasize the others so the reader can compare one trend to all of the others.

  • This chart uses color to distinguish the category of interest
  • It does not require a legend, making it easier to consume
  • It can be paired with interactivity to allow the user to highlight different categories
Line chart

Poor Example

This line chart shows the number of borrowers split by gender and by sector. The categories have nothing to do with each other and the horizontal axis does not focus on a measurement that occurs with regularity, like time making the graph misleading at best.

Bar chart

Better Alternative

Replacing this line chart with a stacked bar chart would be a better fit for this kind of data. Using a single bar for each sector with each gender represented by a distinct color on every bar makes measuring the number of borrowers much easier and eliminates the potential for misinformation.