Data Summary and Presentation 1
Data Summary and Presentation 1
Continuous (Measure)
Discrete (Count)
Drivers
Old
7% Young
27%
Middle aged
67%
Bar Charts
Bar charts also show percentages in various categories and allow
numerical data
simultaneously.
categories.
Bar Charts
The key things to consider are that there must
be gaps between the bars (no matter what the science and
geography departments say!)
Labels should show what each bar represents. The vertical
axis represents the frequency
All boxes should have the same width
Leave gaps between the boxes (because there is no
connection between them)
Boxes can be in any order.
Bar Charts
Contingency Table
(How data is distributed across multiple variables)
Class
0
First Week Second Week Third Week Fourth Week
Attendance Height
Line Graphs
A line graph is a one way to show a relationship b/w two different
variables. It allows to visually see and understand a relationship b/w two
variables.
It is vital to make clear that line graphs are NOT the same as bar charts.
They do not show frequency based data, but show how one quantity
varies for changes in another value.
Similar to most other graphs, line graphs have a vertical axis and a horizontal axis.
If you are plotting changes in data over time, time is plotted along the horizontal or
x-axis and your other data, such as rainfall amounts is plotted as individual points
When the individual data points are connected by lines, they clearly show changes
pressure. You can use these changes to find trends in your dada and possibly to
This is to stop users of the data thinking that they can interpolate
information from the graph!
Discrete or Continuous Data?
Sometimes it isn’t obvious whether some data is discrete or
continuous. For instance time or money can be considered as one
or the other. It depends on how it is used. For instance you might
count how many seconds elapse between two events.
If you allow fractions of a second to be appropriate then you
should consider the time to be continuous, if fractions of a second
are inappropriate then you might consider the time to be a
discrete quantity. The same idea applies to dates. It depends
upon what context you consider appropriate. Try to consider if it
is meaningful or allowable to have fractions of the time or date?
Line Graph for Continuous Variables
Distance travelled x No. of trips
12
10
0
2.5 3.8 7.5 10.5
No. of trips
Line Graph for Discrete Variables
No. of accidents x Distance travelled
12
10
0
4 6 9 11
Distance travelled
Worked Example
The Electronic Energies Alliance recorded the average cost of one gallon
of gasoline in the United States for the years 2000-2007. Present the
information on the data table on a line graph.
Year Average Cost of One Gallon of Gasoline
2000 $ 1.57
2001 $ 1.10
2002 $ 1.46
2003 $ 1.59
2004 $ 2.03
2005 $ 2.25
2006 $ 3.30
2007 $ 3.00
Creating a Line Graph
1. Draw the horizontal (x) and vertical (y) axis.
2. Give the graph the title “Change in Cost of Petrol 2008-2013.”
3. Label the horizontal axis “Year.”
4. Label the vertical axis “Cost of Petrol.”
5. Look at the range in data and decide how the units on the vertical axis (y)
should be labelled. In this case, label the vertical axis 0 – 3.5 by 0.5.
6. Plot the price of gasoline for each year on the horizontal axis. For
example, put a point slightly above 1.5 to show that the cost of one gallon
of gas in the year 2000 was $1.59. Place a point slightly above 1 to show
that they cost of one gallon of gas in the year 2001 was $1.10. Use a
straight edge to connect the points as you go.
Creating a Line Graph
Average Cost of One Gallon of Gasoline
3.5
3
2.5
Average Cost of One
2 Gallon of Gasoline
1.5
1
0.5
0
2000 2001 2002 2003 2004 2005 2006 2007
Worked Example
UET Lahore Transport Administration Unit wants to find out about
where the students of the university are coming from. The unit
gathered following data about the distance (in kilometre) that
students commuted to get to the university.
14, 6, 3, 2, 4, 15, 11, 8, 1, 7, 2, 1, 3, 4, 10, 22, 20
The straight lines (called the whiskers) are drawn from each hinge
to the most extreme observations.
The entire graph is called a Box and Whisker plot.
Median
Min. (+) Whisker Max.
Q1 Q2 Q3 Q4
Worked Example
UET Lahore Transport Administration unit wants to find out about
where the students of the university are coming from. The unit
gathered following data about the distance (in kilometre) that
students commuted to get to the university.
14, 6, 3, 2, 4, 15, 11, 8, 1, 7, 2, 1, 3, 4, 10, 22, 20
0 5 10 15 20 25 30 35
Lecture 4: Presentation of Data