Visualization with Line Graphs

This lesson explains what a line graph is, why it is used, and how to visualize data with a line graph using Python libraries.

Introduction to line graphs #

Line graphs are very useful for showing a value over time, such as a stock’s price. Typically, one would use a line graph over a scatter plot if there is a connecting component between the values, such as time. Here is an example of a value growing exponentially over time:

Get hands-on with 1400+ tech skills courses.