Line and Multi-Line Charts

Learn what line charts and multi-line charts are and build skills in analyzing how a variable storing dates relate to that of a continuous variable.

Line charts and multi-line charts

Here we will cover the concept of a line chart and the scenarios that allow us to leverage it as a powerful tool for data visualization.

Line charts are particularly useful visualization options for when we wish to visualize patterns and trends of a continuous variable over time.

Advantages

Disadvantages

Easy to visualize trends and patterns in data to see how a continuous variable changes over time

Struggles to capture the way the data is distributed

Can plot many lines on a single chart

Can become messy as we add too many variables within a multi-line chart

Easy to identify areas of high fluctuation in the values of the data

The plot can look extremely distorted even if a single value is incorrect or is an outlier

Plotting stock prices

In the following examples, we will look at some stock data of the adjusted closing prices of popular companies. In a final example, we will revisit ...