Representing data

Part ofMathsRepresenting and interpreting data

Types of graphs and charts

The type of graph you use depends on the type of data you want to represent.

Examples

  • is best represented using bar charts.
  • Temperature graphs would usually be line graphs because the data is .
  • When you are graphing percentages of a distribution a pie chart would be suitable.
  • When you have two variables, such as marks in a Maths test and marks in a Science test, then a scatter diagram would be the one to use.

The other thing you need to remember is that all graphs need ‘SALT’.

Make sure you remember the following information:

S = Scale

A = Axes

L = Labels

T = Title

Bar charts

A bar chart is used to compare two or more values with a small set of results.

Drawing a bar chart

In a bar chart, the height of the bar shows the frequency of the result.

As the height of bar represents frequency, the vertical axis would be labelled 'Frequency'.

The labelling of the horizontal axis depends on what is being represented by the bar chart.

Take care to ensure an appropriate scale, to number the axes uniformly, and give the appropriate label on the axes.

Finally, remember to give the graph a suitable title.

Question

Leon conducts a survey to find the number of people in each of the cars arriving at the school gate between \({8.30}am\) and \({9.00}am\). His results are shown in the bar chart below:

Bar chart showing the number of people in each car arriving at school

Bar chart

a) How many cars contained \({1}\) person?

b) How many cars contained more than \({3}\) people?

c) Why are there only a small number of cars containing \({1}\) person?

d) How many cars arrived at the school gate between \({8.30}am\) and \({9.00}am\)?

Line graphs

A line graph is often used to show a trend over a number of days or hours.

It is plotted as a series of points, which are then joined with straight lines.

The ends of the line graph do not have to join to the axes.

Line graph showing midday temperature over a period of 7 days

Line graphs

You can tell at a glance that the temperature was at its highest on Monday and that it started to fall in the middle of the week before rising again at the end of the week.

Question

a) What was the lowest temperature, and on what day did it occur?

b) On what day was the midday temperature \(26^\circ{C}\)?

Pictograms

Pictograms use pictures to represent data. To make sense, a pictogram must always have a key.

In a pictogram it is important to make sure that each picture is the same size, equally spaced out and lined up one beneath the other.

Reading pictograms

This pictogram below shows the number of pizzas eaten by four friends in the past month.

The key tells you that one pizza on the pictogram represents \({4}\) pizzas eaten, so Alan ate \(4 + 2 = 6\) pizzas.

Pictogram showing the number of pizzas eaten by 4 friends in the past month

Pizzas

Question

a) Who ate the most pizzas?

b) How many pizzas did Bob eat?

c) What was the total number of pizzas eaten by the four friends?

Pie charts

Pie charts use different-sized sectors of a circle to represent data.

In a pie chart it is important to understand that the angle of each sector represents the fraction, out of \({360}\), assigned to that data value.

Pie charts should always be labelled, either directly on the pie chart or by means of a colour-coded key.

Reading pie charts

Pie chart showing how students travel to school

Pie charts

a) What is the most common method of travel?

b) What fraction of the students travel to school by car?

c) If \({6}\) students travel by car, how many people took part in the survey?

Question

A supermarket chain sold \({3,600}\) packets of sausages last month.

Pie chart showing different varieties of sausages sold

Pie chart showing different varieties

a) How many packets of vegetarian sausages were sold?

b) How many packets of beef sausages were sold?

Constructing pie charts

To construct a pie chart you need to work out the fraction of the total that the sector represents.

Then convert this to an angle and draw the sector on the chart.

Example

The table shows the grades achieved by \({30}\) pupils in their end-of-year exam.

Exam results table

Constructing pie charts using a table

To present this information on a pie chart, use the following steps:

  1. Work out the total number of pupils: \(7 + 11 + 6 + 4 + 2 = 30\)

  2. To calculate the angle of each segment, work out the fraction of the total that got each grade. Start with A grades: \(\frac{7}{30}\)

  3. There are \(360^\circ\) in a full turn. So to work out the angle, multiply the fraction by \(360\): \(\frac{7}{30} \times 360 = 84^\circ\)

  4. Repeat this process to find the angles for the other segments. Check that the angles are correct by seeing if they add to \(360^\circ\).

  5. Once you have calculated the angles of the segments, construct the pie chart.

Questions

Complete the following table. You could then use the data to construct a pie chart.

Table

Frequency diagrams and frequency polygons

Frequency diagram showing heights of 200 people

Frequency diagram

You can construct a frequency polygon by joining the midpoints of the tops of the bars.

Frequency polygons are particularly useful for comparing different sets of data on the same diagram.

Frequency polygon showing heights of 200 people

Image gallerySkip image gallerySlide1 of 3, , Diagram showing data.

Scatter diagrams

Scatter diagrams show the relationship between two .

By looking at the diagram you can see whether there is a link between variables.

If there is a link it is called correlation.

Reading scatter diagrams

The English and Maths results of ten classmates are shown in the table below:

SalKimBillTomGitaAlexBevKenAlanJo
Maths mark20716052803247904980
English mark30806550813840875570

To see whether there is a correlation between the Maths marks and the English marks, you can plot a scatter diagram.

The Maths mark is on the horizontal scale and the corresponding English mark on the vertical scale.

Bill's Maths mark was \({60}\) and his English mark was \({65}\), so his results are represented by the purple point at coordinates \(({60},~{65})\) on slide 2.

Image gallerySkip image gallerySlide1 of 3, , Slide 1: Diagram showing Maths and English marks.

Question

In the scatter diagram below, whose marks are represented by the small purple cross?

Scatter diagram

Notice that all the points representing Maths marks and English marks lie approximately along a straight line.

This shows that there is a correlation between these two variables.

The diagrams below show the correlations that you can deduce from different patterns of scatter.

Positive correlation

The points lie close to a straight line, which has a positive gradient.

This shows that as one variable increases the other increases.

Positive correlation

Negative correlation

The points lie close to a straight line, which has a negative gradient.

This shows that as one variable increases, the other decreases.

Negative correlation

No correlation

The points do not lie close to any straight line.

This shows that there is no connection between the two variables.

No correlation

Question

Would you expect there to be positive correlation, negative correlation, or no correlation between the following pairs of variables:

a) temperature and sales of ice-cream

b) height and intelligence

Scatter diagrams - line of best fit

The 'line of best fit' goes roughly through the middle of all the scatter points on a graph. The closer the points are to the line of best fit, the stronger the correlation is.

Example

Ten pupils in a school study French and German at GCSE.

Their marks in recent tests are recorded in the table below:

BenSarahSunilTomPeteHenrySiobhanAndrewJoGita
Mark in French42623278701868528438
Mark in German48562468?2276548939

Draw a scatter diagram to represent these marks.

As Pete was absent on the day of the German test you do not have enough information to mark his score.

Scatter diagram

Looking at this scatter diagram, there is strong positive correlation between the marks in French and the marks in German - so you can draw a line of best fit to show that trend.

Scatter diagram

Pete scored \({70}\) in French, so using the line of best fit, you can estimate that his mark in German would have been approximately \({72}\).

Scatter diagram

Key points

  • A line of best fit can only be drawn if there is strong positive or negative correlation.

  • The line of best fit does not have to go through the origin.

  • The line of best fit shows the trend, but it is only approximate and any readings taken from it will be estimations.

Test section

Bar chart showing the colour of cars passing Lisa’s house in one hour

Graph

Question 1

How many white cars passed the house?

Bar chart showing the colour of cars passing Ben’s house in one hour

Graph

Question 2

Which colour was most popular?

Line graph showing Suzie’s test marks over 7 weeks

Graph

Question 3

Which week saw the biggest increase in her marks?

Question 4

How many pizzas did Chris eat?

Pictogram showing the number of pizzas eaten by 4 friends in a month

Chart

Question 5

If \({10}\) people travel to school by car, how many people does the whole chart represent?

Pie chart showing the how pupils travel to school

Chart

Question 6

This is how much money Greg spent in a week:

  • Monday \(\pounds{3}\)

  • Tuesday \(\pounds{10}\)

  • Wednesday \(\pounds{7}\)

  • Thursday \(\pounds{18}\)

  • Friday \(\pounds{8}\)

  • Saturday \(\pounds{21}\)

  • Sunday \(\pounds{5}\)

If this data were shown on a pie chart, which angle would represent Saturday?

Question 7

How do you form a frequency polygon from a frequency diagram?

Question 8

What kind of correlation would you expect between a child's age and height?

Question 9

What kind of correlation would you expect between time spent watching television and time spent doing homework?

Question 10

Which of these statements is incorrect regarding drawing a line of best fit on a scatter diagram?

a) You can only draw a line of best fit if there is an obvious positive or negative correlation.

b) The line of best fit has to go through the origin.

c) The line of best fit only shows a trend.

More on Representing and interpreting data

Find out more by working through a topic