...

/

Multi-Line Graph: Purpose, Code, and Description

Multi-Line Graph: Purpose, Code, and Description

Learn how to create multi-line graphs to represent different data on the same graph.

We'll cover the following...

Purpose

Creating a multi-line graph is a pretty handy thing to be able to do, and we worked through an example earlier in the course as an extension of our simple graph. In that example, we used a CSV file that had the data arranged with each line’s values in a separate column.

date,close,open
1-May-12,68.13,34.12
30-Apr-12,63.98,45.56
...

This is a common way to have data stored. But if you are retrieving information from a database, you may not have the luxury of having it laid out in columns. It may be presented in a more linear fashion where each ...