Chapter 2
Chapter 2
Chapter 2.
Presenting Data in Tables and Charts
Objectives
After completing this lesson, you should be able to:
Draw different types of charts: bar charts, pie charts, dot plot,
histogram, polygon, ogive, side‐by‐side bar chart, scatterplots, time‐
series plot
Outline
• Organizing data
1
31/07/2023
Organizing data
Organizing data
Data collected through surveys are called ‘raw’ data. Data in raw form are
usually not easy to use for decision making
Some type of organization is needed
Table
Graph
The type of table/graph used depends on the variable being summarized
Organizing data
• Convey a message;
2
31/07/2023
Organizing data
Tables
• Simplest way to summarize data
• Including rows and columns containing data
• Data is presented as absolute numbers or percentages, or both
• Tables can be good for side‐by‐side comparisons but can lack visual impact
when used on a slide in a presentation.
Organizing data
Charts and graphs
• Visual representation of data
• They should be designed so that they convey at a single look the
general patterns of the data
• Usually data is presented using percentages
• The most informative graphs are simple and self‐explanatory.
• Graphs are easier to read than tables, they provide less detail.
Effective presentation
Regardless what communication formats you use, the information should be
presented in a clear, concise way with key findings and recommendation that are
actionable.
For all communication formats it is important to ensure that there is:
• Consistency: Font, Colors, Punctuation, Terminology, Line/ Paragraph Spacing
• An appropriate amount of information: Less is more
• Appropriate content and format for audience: Scientific community,
Journalist, Politicians
3
31/07/2023
Tabulating Graphing
data data
Frequency
Bar charts Pie charts
distribution
Frequency distribution
Frequency distribution
• E.g. Guests staying at Victory hotel were asked to rate the quality of their
accommodations as being excellent, above average, average, below average, or
poor. The ratings provided by a sample of 20 guests are:
4
31/07/2023
Frequency distribution
Rating Frequency
Poor 2
Below Average 3
Average 5
Above Average 9
Excellent 1
Total 20
5
31/07/2023
Relative Percent
Frequency
Rating Frequency
Poor 0.10 10
Below Average 0.15 15
Average 0.25 25 0.10x100 = 10
Above Average 0.45 45
Excellent 0.05 5
Total 1.00 100
1/20 = 0.05
Bar graph
A bar graph (or bar chart) is a graphical device for depicting qualitative data.
On one axis (usually the horizontal axis), we specify the labels that are used for
each of the classes.
A frequency, relative frequency, or percent frequency scale can be used for the
other axis (usually the vertical axis).
Using a bar of fixed width drawn above each class label, we extend the height
appropriately.
The bars are separated to emphasize the fact that each class is a separate
category.
Bar graph
Victory Quality Ratings
10
9
8
7
Frequency
6
5
4
3
2
1
Rating
Poor Below Average Above Excellent
Average Average
6
31/07/2023
Pie chart
The pie chart is a commonly used graphical device for presenting relative
frequency distributions for qualitative data.
Draw a circle; then use the relative frequencies to subdivide the circle into sectors
that correspond to the relative frequency for each class.
Pie chart
Victory Quality Ratings
Excellent
5%
Poor
10%
Below
Average
Above 15%
Average
45%
Average
25%
Numerical data
Simple Grouped
Frequency
frequency frequency Dot plot Histogram Ogive
polygon
distribution distribution
7
31/07/2023
8
31/07/2023
9
31/07/2023
10
31/07/2023
Why unequal class intervals: Each class reflects differences in the nature of data
11
31/07/2023
12
31/07/2023
Dot plot
• One of the simplest graphical summaries of data is a dot plot.
• A horizontal axis shows the range of data values.
• Then each data value is represented by a dot placed above the axis.
KFC restaurant
.
. .. . . .
. .. .. .. .. . .
. . . ..... .......... .. . .. . . ... . .. .
50 60 70 80 90 100 110
Cost (000d)
13
31/07/2023
Histogram
Another common graphical presentation of quantitative data is a histogram
The variable of interest is placed on the horizontal axis.
A rectangle is drawn above each class interval with its height corresponding to the
interval’s frequency, relative frequency, or percent frequency.
A histogram looks like a bar charts except that the bars are joined together
Two types of histograms:
• Equal‐width histogram
• Unequal‐width histogram
Equal‐width histogram
KFC restaurant
18
16
14
Frequency
12
10
8
6
4
2
Cost (000d)
50 60 70 8090 90 100-110
Unequal‐width histogram
• The width of each bar must be proportional to the corresponding
class interval
• Frequency = area of the rectangular, or
• Height of bar = frequency/class width
• Note: it is not necessary for the horizontal and vertical axis to have
the same unit in length
14
31/07/2023
Unequal‐width histogram
• From Ex. of Salt Lake Ltd
Unequal‐width histogram
Frequency
density
0.6
0.5
0.4
0.3
0.2
0.1
Shape of Histogram
Symmetric
Left tail is the mirror image of the right tail
Examples: heights and weights of people (normal distribution)
.35
.30
Relative Frequency
.25
.20
.15
.10
.05
0
15
31/07/2023
Shape of Histogram
Moderately Skewed Left
A longer tail to the left
Example: exam scores
.35
.30
Relative Frequency
.25
.20
.15
.10
.05
0
Shape of Histogram
Moderately Skewed Right
A longer tail to the right
Example: housing values
.35
.30
Relative Frequency
.25
.20
.15
.10
.05
0
Shape of Histogram
High Skewed Right
A very long tail to the right
Example: executive salaries
.35
.30
Relative Frequency
.25
.20
.15
.10
.05
0
16
31/07/2023
• Identifies outliers
Frequency polygon
• The frequency polygon is a graph that displays the data by using lines
that connect point plotted for the frequencies at the midpoints of the
classes. The frequencies are represented by the heights of the points
Frequency polygon
KFC restaurant
18
75, 16
16
14 65, 13
12
Frequency
10
8 85, 7 95, 7
6 105, 5
4
55, 2
2
45, 0
0
0 10 20 30 40 50 60 70 80 90 100 110 120
Cost (000d)
17
31/07/2023
Ogive
An ogive is a graph of a cumulative distribution
How to draw an ogive
The data values are shown on the horizontal axis
Shown on the vertical axis are the
cumulative frequencies, or
cumulative relative frequencies, or
cumulative percent frequencies
The frequency (one of the above) of each class is plotted as a point against the upper
class limit of the interval
The plotted points are connected by straight lines
Ogive
100
Cumulative Percent Frequency
80
60 (90, 76)
40
20
Cost (000d)
50 60 70 80 90 100 110
Ogive
18
31/07/2023
Tables:
Cross‐tabulation
Charts:
Time‐series plot
A review of the crosstabulation in this table reveals that restaurants with higher
meal prices received higher quality ratings than restaurants with lower meal prices
19
31/07/2023
20
31/07/2023
Summarize data in the percentage of the overall total, the percentage of the
row total, or the percentage of the column total.
70
60
50
40
30
20
10
0
50‐60 60‐70 60‐80 80‐90
Meal Price (thousand dong)
Good Very Good Excellent
21
31/07/2023
Savings
CD
Bonds
Stocks
0 10 20 30 40 50 60
Investor C Investor B Investor A
29 146 150
33 160 100
38 167
42 50
180
50 190 0
55 195 0 10 20 30 40 50 60 70
Volume per day
60 196
22
31/07/2023
Time‐series plot
• A time‐series plot is used to study patterns in the values of a numerical variable
over time.
• Each value is plotted as a point in two dimensions with the time period on the
horizontal X axis and the variable of interest on the Y axis.
Time‐series plot
• E.g. Attendance (in millions) at Hanoi zoo parks from 2014‐2019
Year Attendance
2014 3.17
2014 3.19
2015 3.24
2016 3.22
2017 3.28
2019 3.35
Time‐series plot
• E.g. Attendance (in millions) at Hanoi zoo parks from 2014‐2019
3.4
3.35
3.35
3.3 3.28
Attendance
3.24
3.25 3.22
3.19
3.2 3.17
3.15
3.1
3.05
2014 2014 2015 2016 2017 2019
Year
23
31/07/2023
Summary
In this chapter, we have
Organized categorical data using the summary table, bar chart and pie chart.
Organized numerical data using the frequency distribution, histogram,
polygon, and ogive.
Examined cross tabulated data using the contingency table and side‐by‐side
bar chart.
Developed scatter plots and time series graphs.
24