Why the Bars Touch in One Graph and Not in the Other
Learn to draw and read bar graphs and double bar graphs, build a histogram from a grouped frequency table, calculate central angles for a pie chart, and interpret each one.
Why does a histogram have no gaps between its bars?
Because its horizontal axis is a continuous scale, and there is nothing in between one class and the next for a gap to represent.
A bar graph shows separate categories — cricket, football, badminton. Nothing lies between cricket and football, so the bars are drawn apart to show they are unconnected.
A histogram shows classes of a measured quantity — marks from to , then to . A mark of exists and belongs to the first class; a mark of exists and belongs to the second. The scale runs without interruption, so the bars must touch.
That single difference tells you which graph a question wants. Categories mean gaps; measurements mean no gaps — and drawing a histogram with spaces between the bars loses marks for exactly this reason. This page covers the second part of the ICSE Class 8 Mathematics chapter on data handling.
A bar graph shows separate categories — cricket, football, badminton. Nothing lies between cricket and football, so the bars are drawn apart to show they are unconnected.
A histogram shows classes of a measured quantity — marks from to , then to . A mark of exists and belongs to the first class; a mark of exists and belongs to the second. The scale runs without interruption, so the bars must touch.
That single difference tells you which graph a question wants. Categories mean gaps; measurements mean no gaps — and drawing a histogram with spaces between the bars loses marks for exactly this reason. This page covers the second part of the ICSE Class 8 Mathematics chapter on data handling.
How do you draw and read a bar graph and a double bar graph?
Draw bars of equal width with equal gaps, one per category, heights proportional to the values.
Worked example 1 — a bar graph. Out of students, favourite sports are cricket , football , badminton , hockey and others .
To draw it: put the sports along the horizontal axis, and choose a vertical scale — here cm to students works, giving bar heights of , , , and cm.
State the scale on the graph. Without * cm students* written beside the axis, the bars are just rectangles and the graph cannot be read.
Start the vertical axis at zero. Beginning at would make the cricket bar look several times the football one instead of roughly times, and comparisons by bar height only work from a zero baseline.
Reading it back: the tallest bar names the most popular sport, and the total of all bars should return .
Worked example 2 — a double bar graph. Monthly rainfall in two cities, in millimetres, over four months:
- City A: , , ,
- City B: , , ,
A double bar graph puts the two bars for each month side by side and touching each other, with a gap before the next month's pair. Shade the two cities differently and include a key saying which shading is which.
Reading it: City A's total is mm and City B's is mm, so A had more rain overall. But in the third month B exceeded A, mm against mm — the only month in which it did.
That is the whole point of a double bar graph. A single total of against hides the reversal in month three. Comparing two data series month by month is something a pair of separate bar graphs does badly and a double bar graph does at a glance.
The two bars in a pair touch; the pairs are separated. Within a month the two cities are being compared directly, so their bars are adjacent. Between months the comparison is a different one, so a gap is left — and a graph drawn with all eight bars equally spaced would lose that structure entirely.
Worked example 1 — a bar graph. Out of students, favourite sports are cricket , football , badminton , hockey and others .
To draw it: put the sports along the horizontal axis, and choose a vertical scale — here cm to students works, giving bar heights of , , , and cm.
State the scale on the graph. Without * cm students* written beside the axis, the bars are just rectangles and the graph cannot be read.
Start the vertical axis at zero. Beginning at would make the cricket bar look several times the football one instead of roughly times, and comparisons by bar height only work from a zero baseline.
Reading it back: the tallest bar names the most popular sport, and the total of all bars should return .
Worked example 2 — a double bar graph. Monthly rainfall in two cities, in millimetres, over four months:
- City A: , , ,
- City B: , , ,
A double bar graph puts the two bars for each month side by side and touching each other, with a gap before the next month's pair. Shade the two cities differently and include a key saying which shading is which.
Reading it: City A's total is mm and City B's is mm, so A had more rain overall. But in the third month B exceeded A, mm against mm — the only month in which it did.
That is the whole point of a double bar graph. A single total of against hides the reversal in month three. Comparing two data series month by month is something a pair of separate bar graphs does badly and a double bar graph does at a glance.
The two bars in a pair touch; the pairs are separated. Within a month the two cities are being compared directly, so their bars are adjacent. Between months the comparison is a different one, so a gap is left — and a graph drawn with all eight bars equally spaced would lose that structure entirely.
How do you draw a histogram from a grouped frequency table?
Put the class boundaries on the horizontal axis, the frequency on the vertical, and draw adjacent bars with no gaps.
Worked example — the marks data. Twenty students' marks, grouped in fives:
- : frequency
- : frequency
- : frequency
- : frequency
To draw it, mark along the horizontal axis at equal spacing, choose a vertical scale such as cm to students, and draw four touching rectangles of heights , , and .
Label the axes with what they measure, not just with numbers: marks horizontally and number of students vertically.
Reading a histogram back.
- Which class has the most students? The tallest bar, , with .
- How many scored less than ? The first two bars: .
- How many scored or more? . Check: , the whole class.
- What fraction scored at least ? , or .
A histogram cannot tell you an individual value. It says nine students scored between and , but not that six of them scored exactly . That information was given away when the data was grouped, and a question asking *how many scored exactly ?* cannot be answered from the histogram at all — which is a fair question to be asked, and the correct answer is that the graph does not say.
Where the horizontal axis does not start at zero. If the classes began at rather than , drawing the axis all the way from zero would waste most of the page. The convention is to draw a kink — a short zig-zag — in the axis just after the origin, showing that a stretch has been left out. Without the kink the graph implies classes that do not exist.
Equal class widths keep it simple. All four classes here are wide, so bar height can be read directly as frequency. If the widths differed, equal-frequency classes would need bars of different heights to keep the areas honest — and that is why examination questions at this level keep the class size constant.
Worked example — the marks data. Twenty students' marks, grouped in fives:
- : frequency
- : frequency
- : frequency
- : frequency
To draw it, mark along the horizontal axis at equal spacing, choose a vertical scale such as cm to students, and draw four touching rectangles of heights , , and .
Label the axes with what they measure, not just with numbers: marks horizontally and number of students vertically.
Reading a histogram back.
- Which class has the most students? The tallest bar, , with .
- How many scored less than ? The first two bars: .
- How many scored or more? . Check: , the whole class.
- What fraction scored at least ? , or .
A histogram cannot tell you an individual value. It says nine students scored between and , but not that six of them scored exactly . That information was given away when the data was grouped, and a question asking *how many scored exactly ?* cannot be answered from the histogram at all — which is a fair question to be asked, and the correct answer is that the graph does not say.
Where the horizontal axis does not start at zero. If the classes began at rather than , drawing the axis all the way from zero would waste most of the page. The convention is to draw a kink — a short zig-zag — in the axis just after the origin, showing that a stretch has been left out. Without the kink the graph implies classes that do not exist.
Equal class widths keep it simple. All four classes here are wide, so bar height can be read directly as frequency. If the widths differed, equal-frequency classes would need bars of different heights to keep the areas honest — and that is why examination questions at this level keep the class size constant.
How do you calculate the central angles for a pie chart?
**Each component gets a slice of the in proportion to its share:**
Worked example 1 — a monthly budget. A family's monthly income of ₹ is spent as food ₹, rent ₹, education ₹, travel ₹ and savings ₹.
Always total the angles.
**If the angles do not total , something is wrong** — and that check costs one addition. A total of or means a rounding mistake or a component left out.
Worked example 2 — the sports data. Out of students:
Totalling: . Correct.
A shortcut worth knowing. Since the total is and , every angle here is simply half the number of students. Looking for a simple fraction between the total and before computing five separate divisions saves real time.
To draw it: draw a circle, mark a radius, then measure each angle from the previous radius with a protractor, going round in one direction. Label every sector with its name and either its value or its percentage.
Percentages are a useful cross-check. Food is and rent , and since of the circle is , food should be — matching. Either route is acceptable, but mixing them halfway through a question is how rounding errors creep in, so pick one and stay with it.
Worked example 1 — a monthly budget. A family's monthly income of ₹ is spent as food ₹, rent ₹, education ₹, travel ₹ and savings ₹.
Always total the angles.
**If the angles do not total , something is wrong** — and that check costs one addition. A total of or means a rounding mistake or a component left out.
Worked example 2 — the sports data. Out of students:
Totalling: . Correct.
A shortcut worth knowing. Since the total is and , every angle here is simply half the number of students. Looking for a simple fraction between the total and before computing five separate divisions saves real time.
To draw it: draw a circle, mark a radius, then measure each angle from the previous radius with a protractor, going round in one direction. Label every sector with its name and either its value or its percentage.
Percentages are a useful cross-check. Food is and rent , and since of the circle is , food should be — matching. Either route is acceptable, but mixing them halfway through a question is how rounding errors creep in, so pick one and stay with it.
How do you read a quantity back out of a pie chart?
Reverse the formula:
Worked example 1. A pie chart represents people, and one sector has a central angle of . How many people does it stand for?
Worked example 2. A pie chart shows a monthly expenditure of ₹, and the travel sector measures .
Worked example 3 — finding the total from one sector. In a pie chart, a sector of represents students. How many students altogether?
Worked example 4 — comparing two sectors. In the budget chart, food is and rent is . How many times the rent is the food?
The ratio of the angles is the ratio of the amounts, so food is times the rent — and checking against the figures, . Correct. This means you can answer a ratio question straight from the angles, without knowing the total at all.
Worked example 5 — a missing angle. A pie chart has four sectors, three of them , and . Find the fourth.
A pie chart shows proportions, not amounts. Two schools could produce identical pie charts of favourite sports while one has students and the other . So a question asking which school has more cricket players? cannot be answered from the charts alone — the totals are needed. That is the single most important limitation of the pie chart, and it is precisely why the total is always printed alongside one.
Which graph for which job. A pie chart shows how a whole divides into parts. A bar graph compares separate categories, and does it more accurately, because the eye judges lengths better than it judges angles. A histogram shows the shape of a continuous distribution. Choosing the wrong one is not a calculation error but it does make a correct calculation useless — so a question naming the graph is telling you what the data is like.
Worked example 1. A pie chart represents people, and one sector has a central angle of . How many people does it stand for?
Worked example 2. A pie chart shows a monthly expenditure of ₹, and the travel sector measures .
Worked example 3 — finding the total from one sector. In a pie chart, a sector of represents students. How many students altogether?
Worked example 4 — comparing two sectors. In the budget chart, food is and rent is . How many times the rent is the food?
The ratio of the angles is the ratio of the amounts, so food is times the rent — and checking against the figures, . Correct. This means you can answer a ratio question straight from the angles, without knowing the total at all.
Worked example 5 — a missing angle. A pie chart has four sectors, three of them , and . Find the fourth.
A pie chart shows proportions, not amounts. Two schools could produce identical pie charts of favourite sports while one has students and the other . So a question asking which school has more cricket players? cannot be answered from the charts alone — the totals are needed. That is the single most important limitation of the pie chart, and it is precisely why the total is always printed alongside one.
Which graph for which job. A pie chart shows how a whole divides into parts. A bar graph compares separate categories, and does it more accurately, because the eye judges lengths better than it judges angles. A histogram shows the shape of a continuous distribution. Choosing the wrong one is not a calculation error but it does make a correct calculation useless — so a question naming the graph is telling you what the data is like.
Exam tip
Exam tip: total the angles, state the scale, and mind the gaps
Bar graph bars have gaps; histogram bars touch. Categories are separate, measurements are continuous.
Write the scale beside every axis — * cm students* — and start the frequency axis at zero, or the bars mislead.
In a double bar graph, the pair for each item touches while the pairs are separated, and a key is essential.
Label axes with what they measure, not just numbers.
Use a kink in an axis that does not start from zero.
Central angle , and **always total the angles to ** before drawing.
Look for a simple fraction first: with a total of , every angle is half the count.
To read back, use — so of is .
Ratios can be read straight from the angles: against is , with no total needed.
A histogram cannot give an individual value, and a pie chart cannot give an amount without the total. Saying so is the correct answer when a question asks for one.
And draw with a sharp pencil, ruler and protractor — a neat graph carries marks of its own.
Write the scale beside every axis — * cm students* — and start the frequency axis at zero, or the bars mislead.
In a double bar graph, the pair for each item touches while the pairs are separated, and a key is essential.
Label axes with what they measure, not just numbers.
Use a kink in an axis that does not start from zero.
Central angle , and **always total the angles to ** before drawing.
Look for a simple fraction first: with a total of , every angle is half the count.
To read back, use — so of is .
Ratios can be read straight from the angles: against is , with no total needed.
A histogram cannot give an individual value, and a pie chart cannot give an amount without the total. Saying so is the correct answer when a question asks for one.
And draw with a sharp pencil, ruler and protractor — a neat graph carries marks of its own.
Did you know
Why the eye judges bars better than slices
Look at a pie chart with sectors of and and try to say which is larger. It is genuinely hard. Now look at two bars of heights cm and cm, and the difference is obvious at once.
The reason is that judging length is something the eye does very well, while judging angle and area it does poorly. A slice that is one-ninth larger than its neighbour looks about the same; a bar that is one-ninth taller looks taller.
This is why a bar graph is the better choice whenever the job is to compare quantities, and why a pie chart earns its place only when the job is different — showing how a whole divides up. The sentence travel is about an eighth of the budget is easy to see in a pie chart and needs mental arithmetic in a bar graph. The sentence travel is slightly less than education is the other way round.
The same reasoning explains the rule about starting the vertical axis at zero. If a bar graph's axis begins at , a value of draws a bar twice the height of a value of — and since the eye reads length as the quantity, it will read a ten-percent difference as a doubling. The graph has not lied about any number, and it has still misled.
So the conventions in this chapter are not arbitrary neatness. Bars touching or apart, axes starting at zero, scales written down, keys included — each one exists because leaving it out makes the picture say something the data does not.
The reason is that judging length is something the eye does very well, while judging angle and area it does poorly. A slice that is one-ninth larger than its neighbour looks about the same; a bar that is one-ninth taller looks taller.
This is why a bar graph is the better choice whenever the job is to compare quantities, and why a pie chart earns its place only when the job is different — showing how a whole divides up. The sentence travel is about an eighth of the budget is easy to see in a pie chart and needs mental arithmetic in a bar graph. The sentence travel is slightly less than education is the other way round.
The same reasoning explains the rule about starting the vertical axis at zero. If a bar graph's axis begins at , a value of draws a bar twice the height of a value of — and since the eye reads length as the quantity, it will read a ten-percent difference as a doubling. The graph has not lied about any number, and it has still misled.
So the conventions in this chapter are not arbitrary neatness. Bars touching or apart, axes starting at zero, scales written down, keys included — each one exists because leaving it out makes the picture say something the data does not.
Key takeaways
Bar graphs, histograms and pie charts: quick revision
- Bar graph: separate categories, equal-width bars with gaps, heights proportional to values. Histogram: continuous classes, bars touching.
- Always write the scale, label both axes with what they measure, and start the frequency axis at zero.
- Sports data out of : cricket , football , badminton , hockey , others . The bars must total back to .
- Double bar graph: pairs touch, pairs are separated, and a key identifies the two series. Rainfall of mm against mm gives totals of mm and mm — yet in the third month the second city was higher, against .
- Histogram from grouped data: classes , , , with frequencies .
- Reading it: the tallest bar is ; fewer than marks is ; at least is ; at least is .
- A histogram cannot give an individual value — grouping discarded that.
- Use a kink in an axis that does not begin at zero, and keep class widths equal.
- Central angle .
- Budget of ₹: food ₹ gives , rent ₹ gives , education ₹ gives , travel and savings ₹ each give — totalling .
- Sports out of : , , , , , again totalling . Since , each angle is half the count.
- of a circle is , so is — a useful cross-check.
- Reading back: . So of is ; of ₹ is ₹; and a sector standing for students means a total of .
- Ratios come straight from the angles: , matching .
- Missing angle: .
- A pie chart shows proportions, not amounts — two very different totals can give identical charts.
- Use a bar graph to compare, a pie chart to show parts of a whole, a histogram to show a distribution's shape.
Take the budget figures, draw the pie chart, then draw the same data as a bar graph — comparing which questions each one answers easily is the point at which the choice of graph stops being arbitrary.
- Always write the scale, label both axes with what they measure, and start the frequency axis at zero.
- Sports data out of : cricket , football , badminton , hockey , others . The bars must total back to .
- Double bar graph: pairs touch, pairs are separated, and a key identifies the two series. Rainfall of mm against mm gives totals of mm and mm — yet in the third month the second city was higher, against .
- Histogram from grouped data: classes , , , with frequencies .
- Reading it: the tallest bar is ; fewer than marks is ; at least is ; at least is .
- A histogram cannot give an individual value — grouping discarded that.
- Use a kink in an axis that does not begin at zero, and keep class widths equal.
- Central angle .
- Budget of ₹: food ₹ gives , rent ₹ gives , education ₹ gives , travel and savings ₹ each give — totalling .
- Sports out of : , , , , , again totalling . Since , each angle is half the count.
- of a circle is , so is — a useful cross-check.
- Reading back: . So of is ; of ₹ is ₹; and a sector standing for students means a total of .
- Ratios come straight from the angles: , matching .
- Missing angle: .
- A pie chart shows proportions, not amounts — two very different totals can give identical charts.
- Use a bar graph to compare, a pie chart to show parts of a whole, a histogram to show a distribution's shape.
Take the budget figures, draw the pie chart, then draw the same data as a bar graph — comparing which questions each one answers easily is the point at which the choice of graph stops being arbitrary.