Back to homeMathematics · Secondary Year 2 · Change subject
Start for free
Secondary 2 · Mathematics
Statistics · Statistics

Representing Data

Before you start, make sure you know: Tables (Secondary Year 1)
Before you start, make sure you know: Percents (Secondary Year 1)

In the 2nd B class, everyone was asked what their favorite social network is, and the result was a list of 40 answers. Reading the whole list is a drag. A well-made graph can be understood at a glance, but not every graph works for every purpose, and some, made on purpose or by accident, give a false idea of the data. How do you choose the right graph, and how do you avoid being fooled?

Population, sample, and variable

Before graphing, you need to know what you are studying.

  • Population: everyone we are interested in (for example, young people ages 12 to 14 in Mexico).

  • Sample: the part of the population that we actually ask.

  • Individual: each element of the population or the sample (each young person).

  • Qualitative variable: it is expressed in words (social network, ice cream flavor). Quantitative: it is expressed with numbers; it is discrete if it takes separate values (number of siblings) and continuous if it can take any value in an interval (height, time).

The type of variable decides which graph to use.

Practice★☆☆Not started
In a 2nd ESO class, a survey was conducted to find out the students' favorite social network. The following results were obtained: Instagram, TikTok, TikTok, YouTube,…

In a 2nd ESO class, a survey was conducted to find out the students' favorite social network. The following results were obtained: Instagram, TikTok, TikTok, YouTube, Instagram, TikTok, YouTube, Instagram, Instagram, TikTok, YouTube, TikTok, Instagram, YouTube, Instagram.

State the population of this study, the individual, and the type of statistical variable.

Solve
Practice★☆☆Not started
A video game company wants to find out how many hours a week young people aged $12$ to $14$ spend playing video games. They surveyed $100$ boys and girls chosen at…

A video game company wants to find out how many hours a week young people aged $12$ to $14$ spend playing video games. They surveyed $100$ boys and girls chosen at random from different secondary schools in Mexico.

In this case, identify:

  1. a) What is the population?
  2. b) What is the sample?
  3. c) What is the individual?
  4. d) Is it a qualitative or quantitative variable?
Solve
Practice★★☆Not started
In a study on social media use, $40$ teenagers at a middle school were asked about their favorite platform. The results obtained are as follows: TikTok: $18$ people.…

In a study on social media use, $40$ teenagers at a middle school were asked about their favorite platform. The results obtained are as follows:

  • TikTok: $18$ people.

  • Instagram: $12$ people.

  • YouTube: $6$ people.

  • BeReal: $4$ people.

  1. a) Identify the population, sample, and type of statistical variable.
  2. b) Draw up a frequency table including the frequency ($n_i$), relative frequency ($f_i$), and percentage ($\%$) for each value.
  3. c) Represent the data on a bar chart.
18 12 6 4 20 18 16 14 12 10 8 6 4 2 0 TikTok Instagram YouTube BeReal Frequency (nᵢ) Favorite platform N = 40
Solve

Frequency tables

To make a graph, you first organize the data in a table.

  • Absolute frequency $n_i$: how many times a value appears.

  • Relative frequency $f_i = \dfrac{n_i}{N}$, where $N$ is the total. Multiplied by 100, it gives the percent.

  • Cumulative frequency $N_i$: the sum of the absolute frequencies up to that value.

When the variable is continuous, the data are grouped into intervals, and each one has its class mark: the midpoint. For $[160, 165)$ the class mark is $\frac{160+165}{2}=162.5$.

Practice★☆☆Not started
Students in a class were asked for the number of siblings they have, obtaining the following data: $1, 0, 2, 1, 1, 0, 3, 2, 1, 1, 0, 2, 1, 4, 1, 0, 2, 1, 1, 2$ Construct…

Students in a class were asked for the number of siblings they have, obtaining the following data:

$1, 0, 2, 1, 1, 0, 3, 2, 1, 1, 0, 2, 1, 4, 1, 0, 2, 1, 1, 2$

Construct a frequency table including the absolute frequency ($n_i$) and the relative frequency ($f_i$).

Solve
Practice★★☆Not started
The number of books read by students in a 2nd ESO class during the first term was recorded. The data are:…

The number of books read by students in a 2nd ESO class during the first term was recorded. The data are:

$1, 2, 0, 3, 1, 1, 2, 0, 1, 4, 2, 1, 1, 0, 2, 3, 1, 2, 1, 0, 5, 2, 1, 2, 1$.

  1. a) Draw up the table of frequencies and cumulative frequencies ($N_i$).
  2. b) What percentage of students read $2$ books or fewer?
  3. c) Draw a frequency polygon over the bar chart of the frequencies.

You can do it on paper and send a photo with your answer.

Solve

Pictograph

A pictograph uses a simple picture that represents a fixed number of data points. It must always show the key (how much each symbol is worth).

Pictograph showing the number of bins in three neighborhoods using rectangles worth twelve units each. Neighborhood A Neighborhood B Neighborhood C each rectangle = 12 bins
Practice★☆☆Not started
The following pictogram shows the number of trees planted by the students of a middle school over four years. If each symbol represents $5$ trees, answer the following…

The following pictogram shows the number of trees planted by the students of a middle school over four years. If each symbol represents $5$ trees, answer the following questions:

= 5 trees 2020 2021 2022 2023
  1. a) How many trees were planted in the year $2021$?
  2. b) In which year were exactly $15$ trees planted?
  3. c) What is the total number of trees planted over the four years?
Solve
Practice★★☆Not started
The municipality of a town wants to raise awareness about recycling. To do so, it has published a pictogram showing the number of recycling bins installed in four…

The municipality of a town wants to raise awareness about recycling. To do so, it has published a pictogram showing the number of recycling bins installed in four different neighborhoods.

If each ♻️ symbol is equivalent to $12$ bins:

  • Neighborhood A: ♻️♻️♻️♻️

  • Neighborhood B: ♻️♻️♻️

  • Neighborhood C: ♻️♻️♻️♻️♻️

  • Neighborhood D: ♻️♻️

  1. a) Construct the frequency table for the number of bins in each neighborhood.
  2. b) What is the total number of bins installed in the town?
  3. c) Represent these same data using a bar graph to compare both visual methods.
Solve
Practice★★★Not started
An NGO conducted a survey on the number of children in $50$ families in a neighborhood. The results have been lost, but we still have the pictogram where each house…

An NGO conducted a survey on the number of children in $50$ families in a neighborhood. The results have been lost, but we still have the pictogram where each house symbol represents $4$ families.

  • $0$ children: $\triangle \triangle \triangle$

  • $1$ child: $\triangle \triangle \triangle \triangle \triangle$

  • $2$ children: $\triangle \triangle \triangle \triangle$

  • $3$ children or more: $?$

  1. a) Knowing that the total number of families is $50$, how many families have $3$ children or more? How would you represent that amount on the pictogram?
  2. b) Calculate the mean, median, and mode of the distribution.
  3. c) If a family is chosen at random, what is the probability that they have fewer than $2$ children? Represent this situation with a circle graph.
= 4 familias Total = 50 0 hijos 1 hijo 2 hijos 3 o más ?
Solve

Bar graph and histogram

For qualitative or quantitative discrete variables, you use the bar graph, with separated bars that are all the same width. For continuous data grouped into intervals, you use the histogram, with bars that touch.

Bar graph with columns separated from each other representing the frequencies of different social networks. TikTokInstaYouTubeOther favorite social network: separated bars Histogram of heights with intervals from 160 to 180 centimeters represented by bars touching each other. 160165170175180 height (cm): touching bars
Practice★☆☆Not started
Look at the following bar chart representing the favorite sport of a group of teenagers from a sports club: Using the graph, answer the following: a) How many people…

Look at the following bar chart representing the favorite sport of a group of teenagers from a sports club:

0 2 4 6 8 10 12 Soccer Basketball Tennis Swimming 10 6 4 8

Using the graph, answer the following:

  1. a) How many people prefer basketball?
  2. b) Which sport is the least practiced in this group?
  3. c) How many people were surveyed in total?
Solve
Practice★☆☆Not started
The time (in minutes) taken by $25$ students to get to school from home has been recorded. The data has been grouped into the following table of intervals: | Time (min)…

The time (in minutes) taken by $25$ students to get to school from home has been recorded. The data has been grouped into the following table of intervals:

Time (min) Absolute frequency ($n_i$)
$[0, 10)$ $4$
$[10, 20)$ $12$
$[20, 30)$ $7$
$[30, 40)$ $2$

Represent these data using a histogram. (Remember to place the intervals on the horizontal axis and the frequencies on the vertical axis).

You can do it on paper and send a photo with your answer.

Solve
Practice★★☆Not started
The height (in cm) of the $20$ members of a youth basketball club was measured. Being a continuous variable, the data have been grouped into the following intervals:…

The height (in cm) of the $20$ members of a youth basketball club was measured. Being a continuous variable, the data have been grouped into the following intervals:

$[160, 165), [165, 170), [170, 175), [175, 180), [180, 185]$.

The frequencies are: $2, 5, 8, 3, 2$, respectively.

  1. a) State the class marks ($x_i$) for each interval.
  2. b) Represent the data on a histogram. Explain how this graph differs from a conventional bar chart.
  3. c) What is the modal class?

You can do it on paper and send a photo with your answer.

Solve
Practice★★★Not started
The reaction time (in seconds) of a group of athletes to the starting signal is represented in the following histogram. The intervals are of the form $[a, b)$. a)…

The reaction time (in seconds) of a group of athletes to the starting signal is represented in the following histogram. The intervals are of the form $[a, b)$.

  1. a) Calculate the total number of athletes who took part in the race, knowing that there were $12$ athletes in the interval $[0,15, 0.20)$.
  2. b) Calculate the class mark for each interval.
  3. c) Estimate the mean reaction time from the histogram data.
  4. d) What percentage of athletes have a reaction time of less than $0.20$ seconds?
12 0.10 0.15 0.20 0.25 0.30 0.35

You can do it on paper and send a photo with your answer.

Solve

Circle graph

The circle graph (or pie chart) divides the total into sectors whose angle is proportional to the frequency. Since a full turn measures $360^\circ$:

$$\alpha = f_i \times 360^\circ = \frac{360^\circ \times n_i}{N}$$ Circle graph with four sectors whose angles are proportional to console preferences. ■ PlayStation: 45 % → 162° ■ Switch: 30 % → 108° ■ Xbox: 15 % → 54° ■ PC: 10 % → 36°

It can also go the other way: if you know the angle, the frequency is $n_i = \frac{\alpha}{360^\circ}\times N$. For example, a sector of $72^\circ$ out of a total of 200 families is $\frac{72}{360}\times200=40$ families.

Practice★☆☆Not started
To represent the results of a survey about preferred ice cream flavors on a circle graph, we need to calculate the angles for each section. If we know that $10$ out of a…

To represent the results of a survey about preferred ice cream flavors on a circle graph, we need to calculate the angles for each section. If we know that $10$ out of a total of $40$ people like chocolate, what angle size in degrees ($^\circ$) will the sector corresponding to chocolate have?

Solve
Practice★★☆Not started
A video game company wants to represent the type of console preferred by visitors at a gaming convention in a circle graph. The data are: PlayStation: $45\%$ Nintendo…

A video game company wants to represent the type of console preferred by visitors at a gaming convention in a circle graph. The data are:

  • PlayStation: $45\%$

  • Nintendo Switch: $30\%$

  • Xbox: $15\%$

  • PC: $10\%$

  1. a) Calculate the degrees corresponding to each circular sector using proportion or the sector angle formula: $\alpha = \frac{360^\circ \times n_i}{N}$.
  2. b) Draw an approximate circle graph using the calculated angles.
0° 90° 180° 270° Data to graph PlayStation (45%) Nintendo Switch (30%) Xbox (15%) PC (10%) Sector angle formula: α = (360° · nᵢ) / N
Solve
Practice★★☆Not started
A survey was conducted among $120$ people about their weekly physical activity. The results are presented in this incomplete table: | Activity | Frequency ($n_i$) |…

A survey was conducted among $120$ people about their weekly physical activity. The results are presented in this incomplete table:

Activity Frequency ($n_i$) Relative Freq. ($f_i$) Sector Angle ($\alpha$)
None (Sedentary) $30$ ? ?
1-2 days ? $0.25$ ?
3-5 days $42$ ? ?
More than 5 days ? ? $54^\circ$
  1. a) Complete all the gaps in the table knowing that the total number of individuals ($N$) is $120$.
  2. b) Represent the data in a circle graph.
  3. c) State the mode of this study.
Solve
Practice★★★Not started
The municipality of a town collected data on household organic waste recycling from $200$ families. The following circle graph shows the distribution, but the data for…

The municipality of a town collected data on household organic waste recycling from $200$ families. The following circle graph shows the distribution, but the data for families who recycle "A lot" have been erased.

  • None ($0$ kg/month): $15\%$

  • A little ($1-5$ kg/month): $72^\circ$ (sector angle)

  • Moderate ($6-10$ kg/month): $90$ families

  • A lot ($>10$ kg/month): $?$

  1. a) Calculate the number of families belonging to each category.
  2. b) Calculate the angle in degrees of the sector corresponding to families who recycle "A lot".
  3. c) Make a frequency and relative frequency table with all the data.
15% 72° 90 fam. ? CATEGORIES None A little Moderate A lot Total: 200 families
Solve

Line graph and frequency polygon

The line graph shows how something changes over time: you mark the points and connect them with segments.

Line graph showing change over several days of the week with points connected by segments. LXD

The frequency polygon is used with ordered numerical data: it connects the points $(x_i, n_i)$, where $x_i$ is the value (or the class mark if there are intervals) and $n_i$ is its frequency. It summarizes the distribution, not a change over time. It is often drawn on top of the bars.

Practice★☆☆Not started
The following line graph shows the evolution of the maximum temperature in a city during the first week of May: Looking at the graph: a) On which day of the week was the…

The following line graph shows the evolution of the maximum temperature in a city during the first week of May:

30° 25° 20° 15° 10° M T W T F S S

Looking at the graph:

  1. a) On which day of the week was the highest maximum temperature recorded?
  2. b) Between which two consecutive days was there the greatest drop in temperature?
  3. c) What was the maximum temperature on Monday?
Solve
Practice★★★Not started
In a study on school library usage, the number of books borrowed by a sample of 2nd ESO students during a term was recorded. The results are shown in the following…

In a study on school library usage, the number of books borrowed by a sample of 2nd ESO students during a term was recorded. The results are shown in the following cumulative frequency bar chart ($N_i$):

  1. a) How many students make up the sample?
  2. b) Construct the frequency table ($n_i$) from the cumulative frequencies.
  3. c) What are the mode and the median of the number of books borrowed?
  4. d) Represent the data using a pie chart.
10 25 35 40 45 10 20 30 40 50 0 1 2 3 4 Number of books Cumulative frequency (Nᵢ)

You can do it on paper and send a photo with your answer.

Solve

Climographs and misleading graphs

A climograph combines two graphs: bars for precipitation (mm) and a line for temperature (°C), with two vertical scales over the same months.

Climograph combining bars for precipitation and a line for temperatures with two vertical scales. JanFebMar mm°C Comparison of two graphs with identical data where the truncated vertical axis exaggerates the slope. axis from 0 °C to 40 °C rises "a little" axis from 18 °C to 22 °C same data!

To compare real growth, draw both series with the same scale or compare relative changes: going from $10{,}000$ to $12{,}000$ is an increase of $20\,\%$; going from $50{,}000$ to $51{,}000$ is only $2\,\%$.

Practice★★☆Not started
Look at the following two graphs showing the change in average temperature in a city during a spring morning. Both represent the same data, but have been drawn with…

Look at the following two graphs showing the change in average temperature in a city during a spring morning. Both represent the same data, but have been drawn with different scales on the vertical axis.

40 30 20 10 0 8 h 9 h 10 h 11 h 12 h ºC Time Graph A (0 - 40 ºC) 22 21 20 19 18 17 16 15 8 h 9 h 10 h 11 h 12 h ºC Time Graph B (15 - 22 ºC)
  1. a) Explain why Graph B gives the impression of much faster growth than Graph A if the data are identical.
  2. b) Which of the two graphs do you think is more objective for informing the public? Reason your answer based on the scale of the vertical axis.
Solve
Practice★★☆Not started
A climate graph (climograph) is a graph that combines a bar graph (rainfall) and a line graph (temperature). Look at the simplified data for a quarter in a city in…

A climate graph (climograph) is a graph that combines a bar graph (rainfall) and a line graph (temperature). Look at the simplified data for a quarter in a city in southern Mexico:

  • January: $10^\circ C$, $60\text{ mm}$

  • February: $12^\circ C$, $45\text{ mm}$

  • March: $15^\circ C$, $30\text{ mm}$

  1. a) Draw the climate graph, placing the months on the $X$ axis, rainfall on the left $Y$ axis (bars), and temperatures on the right $Y$ axis (line).
  2. b) By analyzing the graph, what trend do you observe moving from winter to spring?
Solve
Practice★★★Not started
An influencer wants to show the growth of their followers on two different social networks during the last six months. To do so, they present the following graphs. a)…

An influencer wants to show the growth of their followers on two different social networks during the last six months. To do so, they present the following graphs.

  1. a) Explain why the graph for Social Network Y could be misleading to sponsors if they do not look at the vertical axis.
  2. b) Knowing that on Social Network X they started with $10,000$ followers and ended with $12,000$, and on Social Network Y they started with $50,000$ and ended with $51,000$, draw a single comparative line graph using an appropriate scale that allows for comparing the actual growth of both accounts.
12.0k 9.0k 6.0k 3.0k 0 1 2 3 4 5 6 Months Social Network X 51.5k 51.0k 50.5k 50.0k 49.5k 1 2 3 4 5 6 Months Social Network Y

You can do it on paper and send a photo with your answer.

Solve

Two-way tables and box plots

A two-way table crosses two variables (activity and gender, for example). The sums of rows and columns lead to the same total, which lets you fill in missing data: each empty cell is found by subtracting from a total.

The box-and-whisker plot summarizes the data with five numbers: minimum, first quartile $Q_1$, median, third quartile $Q_3$, and maximum. The box contains the middle $50\,\%$ of the data, and its length $Q_3-Q_1$ shows the spread. The value $Q_1$ leaves $25\,\%$ of the data below it and the other $75\,\%$ above it; $Q_3$ leaves $75\,\%$ below and $25\,\%$ above. So, if a value equals $Q_1$, about $75\,\%$ of the data reach it or exceed it.

Practice★★★Not started
A survey was carried out among $400$ teenagers about their favorite weekend activity, distinguishing between boys and girls. The data are shown in the following two-way…

A survey was carried out among $400$ teenagers about their favorite weekend activity, distinguishing between boys and girls. The data are shown in the following two-way table, but some values are missing:

Activity Boys Girls Total
Movies $?$ $65$ $110$
Video games $80$ $?$ $?$
Sports $?$ $55$ $130$
Total $210$ $?$ $400$
  1. a) Complete all the missing values in the table.
  2. b) Represent the data using a grouped bar graph (one bar for boys and one for girls for each activity).
  3. c) What percentage of girls prefer sports? Is it higher or lower than the percentage of boys who prefer sports?
Solve
Practice★★★Not started
A phone company analyses the battery life of two smartphone models, A and B, after one year of use. The results are shown in the following box plot (box-and-whisker…

A phone company analyses the battery life of two smartphone models, A and B, after one year of use. The results are shown in the following box plot (box-and-whisker plot). Look at the graph and answer:

  1. a) What is the median duration for each model?
  2. b) If a user needs the battery to last at least $18$ hours, which model has a higher proportion of devices that meet this requirement? Justify your answer using the quartiles.
  3. c) Which of the two models has a more spread-out distribution in the central $50\%$ of the data?
18h 10 12 14 16 18 20 22 24 26 28 30 Battery life (hours) Mod. A Mod. B
Solve
Practice★★★Not started
An e-sports club has carried out a study on the number of hours per week that its $120$ members spend training. We have the following partial data from the frequency…

An e-sports club has carried out a study on the number of hours per week that its $120$ members spend training. We have the following partial data from the frequency table, where the data have been grouped into intervals of the same width:

Training hours Absolute frequency ($n_i$) Relative frequency ($f_i$) Sector angle
$[0, 5)$ $18$ $?$ $?$
$[5, 10)$ $?$ $0.25$ $?$
$[10, 15)$ $?$ $?$ $144^\circ$
$[15, 20]$ $?$ $?$ $?$

Complete the frequency table and represent the data using a histogram with a frequency polygon superimposed on it. State what percentage of members train $10$ hours or more per week.

You can do it on paper and send a photo with your answer.

Solve

Back to the beginning: for the favorite social network of the 2nd B class (a qualitative variable) we choose a bar graph or a circle graph; and before believing any graph, we check its axes.

Summary

See all the exercises in this section