# Line Graphs

Line graphs are an efficient and useful way to present data for two mutually dependent variables.

In an ideal experiment, all variables are kept the same, except one. This is the 'control', or 'independent', variable. With each value of the control variable, a quantity is measured. For example, this is the table of data for an experiment in which an object is dropped and allowed to fall under gravity:

Time t /sDistance /m
0.050.0123
0.100.0491
0.150.110
0.200.196
0.250.307
0.300.441
0.350.601
0.400.785
0.450.993
0.501.23

The control variable is changed under the control of the experimenter, and the other variable (dependent or measured variable) is measured and recorded. A table is usually the most convenient way to record this raw data.

After the raw data has been collected, it is then processed. This may involve calcuations, which assume, or reveal, the relationship between the variables. For example, the data may reveal that the acceleration (dependent variable) under gravity remains constant) through time.

## Line Graph Checklist

• Graph title
• Put a title at the top of the graph. Always provide a graph with a meaningful title. Be as specific as possible, but do not make it too long. Avoid vague titles like 'Data' or 'Graph of Experimental Data', which will mean little to a reader. Much better are titles like 'Position of falling object against time'.

• X-axis:
• Time always goes on the x-axis. Otherwise, the control (or independent) variable goes on the x-axis.

• Y-axis:
• The measured (or dependent) variable goes on the y-axis.

• Axis labels
• Both axes need to be labelled, with the units of the quantity they represent in parentheses.

• Origin
• The origin is the starting point of the axes. It is usually zero. However, if the graph data always falls in a range that is not close to zero, it may make more sense to choose a different value for the origin.

• Plot the data points
• Use 'x' or '+' to mark accurately the data points. Do not use dots - they are inaccurate if large, and will be hard to see if small.

• Line of best fit
• If a clear trend can be seen in the data (a straight line or a curve), a line of best fit is drawn through the data points. The data points should fall equally above and below the line, so the line represents the average.

• Label the curves
• If more than one curve is drawn on a single pair of axes, make sure you label them, or use colours or a system of dashes or similar, with a key somewhere on the graph explaining what the curves represent.

# Bar Charts

Bar charts (or graphs) are an alternative to line graphs for presenting data. Whereas line graphs display data as a continuous line, bar charts represent ranges of data.

## Example

This is a table showing the number of new enrolments in a gymnasium over one year:

Month Enrolments
Jan 32
Feb 34
Mar 48
April 46
May 49
June 34
July 12
Aug 3
Sep 34
Oct 23
Nov 38
Dec 26
Bar chart of number of gym enrolments over time

There are many computer applications available for creating graphs of different types. You should try different ones, and learn which chart type and information in the title, axes and legend best describe the graph for your reader.

A very good programme for storing, processing and presenting data in tables and graphs is Excel of the Microsoft Office Suite. This bar chart was generated from Excel.

Creating a chart automatically in Excel

## Scatter Diagrams

Plots of data do not usually fall conveniently on a line. A line of best fit can be drawn which is an average. There will be an equal distribution of points times their distance from the line, below and above the line of best fit.

The mean values (62.5%, 52.5%) of the scatter plot will fall near to the line of best fit. Knowing one data point, the line of best fit helps us determine the most probable other data point.

In the example graph here, the French test result was known (52.5 %), so the Maths test result is likely to be around 70%. The spread of the data points (distance from the line of best fit) gives an indication of the uncertainty of this measurement (in this case about ± 10%).

A more accurate uncertainty can be determined by calculating the standard deviation.

## Site Index

### Latest Item on Science Library:

The most recent article is:

Air Resistance and Terminal Velocity

View this item in the topic:

Mechanics

and many more articles in the subject:

### Computing

Information Technology, Computer Science, website design, database management, robotics, new technology, internet and much more. JavaScript, PHP, HTML, CSS, Python, ... Have fun while learning to make your own websites with ScienceLibrary.info.

### Great Scientists

#### Niels Bohr

1885 - 1962

Niels Bohr, 1885 - 1962, was a Danish physicist, and founder of the Copenhagen School, which proposes as a consequence of quantum mechanics that there is no fundamental reality, a view much opposed by Albert Einstein.

### Quote of the day...

Science, accumulated and reviewed over decades, tells us that our planet is changing in ways that will have profound impacts on humankind. Those who are already feeling the effects of climate change don't have time to deny it - they are busy dealing with it.