Chapter 2- Organizing data ( Tables and Graphs) Fall 2026-2027

Table of contents

  1. Objectives
  2. Organizing data
  3. Presenting data
  4. Other type of graphs

1. Objectives

1.1 Objectives

After completing this chapter, you should be able to:

  • Organize data using frequency distributions.
  • Represent data in frequency distributions graphically using histograms, frequency polygons, and ogives.
  • Represent data using Pareto charts, time series graphs, and pie graphs.

2. Introduction

1.2 Introduction

This chapter focuses on organizing raw data into a more manageable format and then constructing appropriate graphs to visually represent this data. The goal is to present information concisely and in an easily understandable manner.

The process involves two main stages: organizing data and presenting data.

3. Organizing data (frequency distributions)

1.3 Organizing data

Organizing data involves grouping it into frequency distributions. This method helps to summarize a large set of data by showing how often each value or range of values occurs.

1.4 Frequency distributions

A frequency distribution is a table that shows the number of data points that fall into specific categories or intervals, called classes. This allows for a clear overview of the data's distribution.

A frequency table showing the distribution of data into classes and their corresponding frequencies.

1.5 Class limits and class boundaries

Class limits are the lowest and highest values that can be included in a class. Class boundaries are used to separate classes without any gaps, ensuring that each data point falls into exactly one class.

They are typically halfway between the upper limit of one class and the lower limit of the next class.

Table showing class limits and corresponding class boundaries for statistical data grouping.

4. Presenting data (graphs)

1.6 Presenting data

Once data is organized into frequency distributions, it can be presented graphically. Graphs provide a visual representation of the data, making it easier to identify patterns, trends, and relationships.

1.7 Types of graphs

This chapter covers several types of graphs used to represent data, including histograms, frequency polygons, ogives, Pareto charts, time series graphs, and pie graphs. Each type of graph is suitable for different kinds of data and analytical purposes.

2. Organizing data

2.1 Introduction to organizing data

When data are collected in their original form, they are called raw data. This unorganized data provides little insight into the distribution's features.

Therefore, techniques are needed to organize collected data into a meaningful form. A frequency distribution is the organization of raw data into mutually exclusive (non-overlapping) and exhaustive categories or classes, showing the number of observations in each class or category.

The most common types of frequency distributions are:

  • Categorical distributions (for qualitative variables)
  • Ungrouped distributions (for quantitative variables with few values)
  • Grouped distributions (for quantitative variables with a large dataset)

2.2 Categorical frequency distribution for qualitative variables

Categorical frequency distributions are used for data that can be placed into specific categories, such as nominal or ordinal level data. Examples include gender, blood type, or nationality.

To construct a categorical frequency distribution:

  • Write the categories in the first column of a table.
  • Count the tallies for each category and place the results in a second column, labeled "Frequency." The frequency represents the number of observations in each class.

2.3 Ungrouped frequency distributions for quantitative variables with few values

Ungrouped frequency distributions are used when there are few distinct numerical data values to organize. This method is suitable when the range of data values (highest value - lowest value) is relatively small, typically less than 15. For such data, you simply count how many times each distinct value has occurred.

For example, if the raw data represents the number of incoming calls per day over 20 days, you would count the occurrences of each specific number of calls (e.g., how many days had 0 calls, how many had 1 call, etc.).

2.4 Grouped frequency distributions for quantitative data with a large amount of values

Grouped frequency distributions are used when the range of values in a dataset is very large. In this method, the data must be grouped into classes that are wider than a single unit.

An example is the life of boat batteries in hours, where a wide range of values might exist.

Each class in a grouped frequency distribution has a lower class limit, which is the least number that can belong to the class, and an upper class limit, which is the greatest number that can belong to the class. The class width is the difference between the limits of consecutive classes.

The difference between the maximum and minimum data entries is called the range.

2.5 Guidelines for constructing a frequency distribution

When constructing a frequency distribution, several guidelines should be followed to ensure clarity and accuracy:

  • Number of classes: There should be between 5 and 20 classes.
  • Mutually exclusive classes: Class limits must not overlap.
  • Continuous classes: Classes must be continuous, meaning there are no gaps.
  • Exhaustive classes: All data must be accommodated; no gaps should exist, and a class must be included even if there are no values for it.
  • Equal class width: Classes should generally be of equal width to avoid a distorted view of the data. An exception occurs when a distribution has an open-ended class.

2.6 Open-ended distributions

An open-ended distribution is a type of frequency distribution where one or more classes do not have a specific lower or upper limit. This is often used when dealing with data that has extreme values or when the range is very large.

For example, a class might be "Less than 100" or "300 and over."

2.7 Grouped frequency distribution example

This section illustrates a grouped frequency distribution for expenses on over-the-counter (OTC) medicines.

A frequency distribution table showing classes, tally marks, and frequencies for a sample of 30 adults.

The table shows class intervals representing ranges of expenses, tally marks indicating the count within each class, and the frequency representing the number of adults in each class.

2.8 Determining the midpoint, relative frequency, and cumulative frequency

To further analyze a frequency distribution, several calculations can be performed for each class:

  • Midpoint: The midpoint of a class is found by adding the lower and upper class limits and dividing by 2. It represents the center of the class interval.
  • Relative frequency: This is calculated by dividing the frequency of a class by the total number of observations. It expresses the proportion of data that falls into each class.
  • Cumulative frequency: This is the sum of the frequencies for that class and all preceding classes. It indicates the total number of observations up to the upper limit of that class.

For example, using the frequency distribution of expenses on OTC medicines, the midpoints, relative frequencies, and cumulative frequencies for each class can be calculated. These calculations help in identifying patterns within the data.

For instance, it might reveal the most common range of expenses or the proportion of expenses falling below a certain amount.

3. Presenting data

3.1 Graphs and charts for data presentation

Organized data is presented in pictorial form, called graphs and charts, to facilitate analysis and interpretation. Common graphical methods include histograms, frequency polygons, cumulative frequencies (ogives), Pareto charts, time series graphs, and pie charts.

These visuals help in understanding data patterns and distributions.

  • Graphs and charts: pictorial representations of organized data used for analysis and interpretation.
  • Common types:
  • Histograms
  • Frequency polygons
  • Cumulative frequencies (ogives)
  • Pareto charts
  • Time series graphs
  • Pie charts
  • Bar charts
  • Stem and leaf plots
  • Scatter plots
  • Dot plots

3.2 Graphic presentation for qualitative variables

Qualitative variables are best presented using bar charts, pie charts, and Pareto charts. These graphs visually represent the frequencies or proportions of different categories within the data.

3.3 Bar chart

A bar chart displays qualitative classes on the horizontal axis and their corresponding frequencies on the vertical axis. The height of each bar is proportional to its class frequency, and there is a distinct gap between adjacent bars.

  • Bar chart: a graph with qualitative classes on the horizontal axis and class frequencies on the vertical axis.
  • Bar height: proportional to the class frequency.
  • Distinguishing feature: a gap exists between bars.

3.4 Pie chart

A pie chart is a circle divided into sections (wedges) representing the percentage of frequencies in each category. The angle of each wedge is proportional to its category's frequency relative to the total frequency.

  • Pie chart: a circle divided into wedges representing percentage frequencies of categories.
  • Wedge angle: proportional to the category's relative frequency.
  • Purpose: to show part-whole relationships.
  • Limitation: best used for distributions with eight or fewer categories; charts with many slices are difficult to read.

A pie chart illustrating the percentage distribution of different blood types among persons.

3.5 Pareto chart

A Pareto chart is used for categorical variables, displaying frequencies as vertical bars arranged in descending order from highest to lowest. This arrangement highlights the most frequent categories.

  • Pareto chart: displays frequencies of a categorical variable using vertical bars.
  • Arrangement: bars are ordered from highest frequency to lowest.

3.6 Side-by-side bar charts

Side-by-side bar charts are used to compare frequencies of two or more qualitative variables across the same categories. This allows for direct comparison between groups.

3.7 Graphic presentation for quantitative variables

Quantitative variables are typically presented using histograms, frequency polygons, and cumulative frequency graphs (ogives). These methods illustrate the distribution, shape, and spread of numerical data.

3.8 Frequency histogram

A frequency histogram is a bar graph representing a frequency distribution where the horizontal scale is quantitative and measures data values. The vertical scale measures class frequencies, and consecutive bars must touch, indicating continuous data.

  • Frequency histogram: a bar graph for quantitative data with touching bars.
  • Horizontal axis: quantitative data values or class boundaries.
  • Vertical axis: class frequencies.
  • Consecutive bars: must touch to represent continuous data.

Class boundaries are used to separate classes without forming gaps, ensuring the bars in a histogram connect. They are calculated by taking half the distance between the upper limit of one class and the lower limit of the next.

This histogram displays the relative frequency of out-of-pocket prescription medicine expenses for adults.

3.9 Relative frequency histogram

A relative frequency histogram has the same shape and horizontal scale as its corresponding frequency histogram. However, the vertical scale represents relative frequencies (proportions) instead of absolute frequencies.

  • Relative frequency histogram: similar to a frequency histogram but uses relative frequencies on the vertical axis.
  • Vertical axis: measures the proportion of data in each class.

3.10 Frequency polygon

A frequency polygon is a line graph that emphasizes the continuous change in frequencies across classes. It is constructed by plotting class midpoints against their frequencies and connecting the points with line segments.

  • Frequency polygon: a line graph showing continuous change in frequencies.
  • Construction: uses class midpoints on the horizontal axis and frequencies on the vertical axis.
  • Shape: the graph begins and ends on the horizontal axis, extending one class width before the first midpoint and after the last.

This line graph displays the frequency of adults based on their out-of-pocket prescription medicine expenses in dollars.

3.11 Ogive (Cumulative frequency graph)

An ogive represents the cumulative frequencies for the classes in a frequency distribution. Class boundaries are plotted on the x-axis, and cumulative frequencies on the y-axis, with points connected to show accumulated values up to each upper class boundary.

  • Ogive: a graph of cumulative frequencies.
  • X-axis: class boundaries.
  • Y-axis: cumulative frequencies.
  • Plotting: cumulative frequency is plotted at the upper class boundary.
  • Starting point: the graph extends to the first lower class boundary on the x-axis.

3.12 Notes on frequency distribution and graphs

Analyzing the shape of frequency distributions, as depicted in histograms and polygons, provides insights into the data's characteristics. Common shapes include uniform, normal (bell-shaped), skewed right, and skewed left.

  • Distribution shape: describes how data values are spread across the range.
  • Key questions for analysis:
  • Does it have one or two peaks?
  • Is it relatively flat or U-shaped?
  • Are data values spread out or clustered?
  • Are data values clustered around the center, or on the right/left ends?
  • Are there extreme values (outliers)?

3.13 Uniform distribution

A uniform distribution occurs when each value tends to appear with the same frequency, resulting in a flat histogram.

3.14 Normal distribution

A normal or bell-shaped distribution is characterized by most values clustering in the middle, with frequencies tapering off symmetrically to the left and right.

3.15 Skewed distributions

  • Skewness: a lack of symmetry in a distribution.
  • Data skewed to the right (positively skewed): has a longer right tail due to a few extreme high values, such as salaries.
  • Data skewed to the left (negatively skewed): has a longer left tail due to a few extreme low values, such as student grades.

3.16 Outliers

Outliers are data values that lie very far from the vast majority of other sample values. They can significantly influence statistical measures and should be identified and investigated.

  • Outlier: a data point significantly different from other observations.
  • Impact: can distort statistical summaries and analyses.

3.17 Common graphical representations

Different types of graphs are suited for different types of data and purposes. Bar charts and pie charts are ideal for qualitative data, while histograms and frequency polygons are used for quantitative data.

Graph TypeVariable TypePurpose
Bar ChartQualitativeCompare frequencies of categories
Pie ChartQualitativeShow part-whole relationships (percentages)
HistogramQuantitativeShow frequency distribution of continuous data
Frequency PolygonQuantitativeEmphasize continuous change in frequencies
OgiveQuantitativeShow cumulative frequencies

3.18 Example: Blood type distribution

This example illustrates the use of different charts to represent the distribution of blood types, a qualitative variable.

3.19 Bar chart for blood types

A bar chart can display the frequency of each blood type.

A bar chart showing the frequency of different blood types.

3.20 Relative frequency bar chart for blood types

A relative frequency bar chart shows the proportion of each blood type.

This bar chart displays the relative frequency of different blood types: A, B, O, and AB.

3.21 Pie chart for blood types

A pie chart visually represents the percentage distribution of blood types.

3.22 Example: Prescription medicine expenses

This example demonstrates graphical presentations for quantitative data related to out-of-pocket prescription medicine expenses.

3.23 Frequency distribution table

A frequency distribution table organizes raw data into classes with corresponding frequencies.

A frequency distribution table showing out-of-pocket prescription medicine expenses in dollars.

3.24 Histogram of expenses

A histogram visually represents the frequency distribution of prescription medicine expenses.

3.25 Frequency polygon of expenses

A frequency polygon illustrates the continuous change in the frequency of prescription medicine expenses.

4. Other type of graphs

4.1 Stem-and-leaf plot

A stem-and-leaf plot is a data visualization method that displays quantitative data in a graphical format, similar to a histogram, while retaining the original data values. It separates each data point into a "stem" (typically the leading digit or digits) and a "leaf" (the trailing digit).

This method allows for the visualization of the distribution's shape and keeps the sample data sorted.

  • Construction:

  • Arrange the data in ascending order.

  • Separate the data based on the first digit(s) to form the stems.

  • Use the trailing digit(s) as the leaves for each corresponding stem.

  • Features:

  • Shows the shape of the data distribution.

  • Retains the original data values.

  • The sample data are sorted.

4.2 Time series graph

A time series graph, also known as a line graph, represents data that changes over a specific period. These graphs are particularly useful for identifying long-term trends, seasonal patterns, and changes in a variable over time.

They are commonly used in business for data such as prices, incomes, profits, sales, and stock market fluctuations.

  • Applications:
  • Identifying long-term trends.
  • Detecting regularly occurring trends (seasonality).
  • Observing changes or trends in a variable over time.

Time series graphs are especially effective when comparing two or more data sets over the same period. By plotting multiple series on the same x-axis (representing time), trends and relationships between the variables can be more easily discerned.

A line graph showing the compound time series of two different data sets over the years 2000 to 2006.

4.3 Scatter plots

A scatter plot is used to determine if a relationship exists between two variables. Researchers collect paired data, where one variable is considered independent and the other dependent.

The independent variable is typically plotted on the x-axis, and the dependent variable on the y-axis.

  • Analyzing Scatter Plots:
  • Positive linear relationship: Points form an ascending straight line; both x and y values increase together.
  • Negative linear relationship: Points form a descending straight line from left to right.
  • Nonlinear relationship: Points follow a curve.
  • No relationship: No discernible pattern among the points.

4.4 Dot plots

A dot plot is a simple graph where each data value is represented by a dot plotted above a horizontal axis. This visualization allows for a quick overview of the data's distribution, showing clusters, gaps, and the range of values.

  • Construction:
  • A horizontal axis represents the data values.
  • Each data point is marked with a dot above its corresponding value on the axis.
  • The frequency of a value is indicated by the number of dots stacked above it.

A dot plot showing the distribution of family expenditure in units of $100.

4.5 Histograms

A histogram is a graphical representation of the distribution of numerical data. It is an estimate of the probability distribution of a continuous variable.

The data are grouped into bins, and the height of each bar represents the frequency or relative frequency of data points falling within that bin.

  • Characteristics:
  • Bars represent frequency or relative frequency.
  • The x-axis represents the range of data values, divided into intervals (bins).
  • The y-axis represents the frequency or count of data points in each bin.

Histograms can reveal the shape of the distribution, such as symmetry, skewness, and the presence of modes.

A histogram showing a frequency distribution skewed to the right, with the peak around a value of 20.

A histogram showing a distribution skewed to the left, with the tail extending towards lower values.

4.6 Ogives

An ogive (or cumulative frequency graph) is a line graph that displays the cumulative frequency of a dataset. It shows the total number of data points that fall below a certain value.

The x-axis typically represents the upper class limits or values, and the y-axis represents the cumulative frequency.

  • Interpretation:
  • The graph starts at zero cumulative frequency for the lowest value.
  • It rises as more data points are included.
  • The final point on the graph represents the total number of observations.

Ogive charts are useful for determining the number or percentage of observations that fall within a specific range.

A frequency ogive chart showing cumulative frequency against expenses.

4.7 Bar charts and misleading scales

Bar charts are used to compare discrete categories. However, the visual impact of differences between bars can be exaggerated if the vertical axis does not start at zero.

This manipulation can create a misleading impression of the magnitude of differences.

  • Impact of Axis Starting Point:
  • Nonzero vertical axis: Can exaggerate differences between categories.
  • Zero-based vertical axis: Provides a more accurate representation of the proportions and differences.

It is crucial to examine the scale of the vertical axis when interpreting bar charts to avoid misinterpretations.

Two bar charts illustrating the percentage of subjects experiencing nausea, with the left chart's y-axis starting at 10% and the right chart's y-axis starting at 0%.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also