Colorful House of Math logo
Log in

How to Make a Line Chart with GeoGebra

You can use GeoGebra to make two kinds of line charts.

The first kind is a line chart where the observation times are discrete. I’ll show you how to make this kind of line chart in Item 6.

The second kind is a line chart where the observation times are intervals, where the line chart connects the middle points of the bins in a histogram.

So in order to make a line chart of this kind in GeoGebra, you have to make a histogram first. I’ll show you how to make this kind of line chart in Item 7.

GeoGebra Instruction 1

Line Chart with Discrete Observation Times

1.
Open Algebra View, Graphics View and Spreadsheet under GeoGebra icon View in GeoGebra icon Menu.
2.
Enter the observation times converted to hours (e.g. 9.30AM is entered as 9.5) in column A.
3.
Enter your observations in column B.
4.
Make a list by selecting all observation times and click List GeoGebra icon in Toolbar. In the pop-up window that appears, change Name to “Times” and click OK.
5.
Make a list by selecting all observations and click List GeoGebra icon in Toolbar. In the pop-up window that appears, change Name to “Observations” and click OK.
6.
In Algebra View, type

LineGraph(<List of x-coordinates>, <List of y-coordinates>)

and replace <List of x-coordinates> with Times, and <List of y-coordinates> with Observations.

The line chart is displayed in Algebra View.

Screenshot of GeoGebra showing a line chart with discrete observation times

GeoGebra Instruction 2

Line Chart with Continuous Observation Times

1.
Open Algebra View, Graphics View and Spreadsheet under GeoGebra icon View in GeoGebra icon Menu.
2.
Enter the lower endpoint of the first interval in column A.
3.
Enter the upper endpoint of each interval (including the first one) in the cells below.
4.
Enter your observations in column B. Check that you have one more filled-in cell in column A than in column B.
5.
Make a list by selecting all observation times and click List GeoGebra icon in Toolbar. In the pop-up window that appears, change Name to “ClassBoundaries” and click OK.
6.
Make a list by selecting all observations and click List GeoGebra icon in Toolbar. In the pop-up window that appears, change Name to “Observations” and click OK.
7.
Use the command

FrequencyPolygon(<List of Class Boundaries>, <List of Heights>)

in Algebra View. Insert “ClassBoundaries” as <List of Class Boundaries> and insert “Observations” as <List of Heights>. Press Enter.

Your line chart will be displayed in Graphics View. Remember to adjust the window so that the entire chart is visible.

Screenshot of GeoGebra showing a line chart with continuous observation times

Want to know more?Sign UpIt's free!
White arrow pointing to the LeftPrevious entry
How to Make a Pie Chart with GeoGebra
Next entryWhite arrow pointing to the right
How to Make a Box Plot with GeoGebra