Histograms

Give a class teacher a table of marks sorted into bands — 00–1010, 1010–2020, and so on — and ask "what score did most students get?" Counting through the table is slow. Draw a histogram instead: touching bars, one per class, with height equal to frequency. The tallest bar answers the question at a glance — it marks the modal class, the band with the most students. ICSE Class 10 pushes one step further: a purely geometric construction, joining corners of adjacent bars, that reads off the mode itself, a single number, directly from the picture — no formula needed, though the formula gives the same answer as a check.

The core insight

A histogram is a grouped, continuous-data bar diagram whose bars touch (no gaps), and joining the top corners of the tallest bar to its neighbours' top corners locates the mode without calculation.

The core idea

A histogram plots class boundaries on the horizontal axis and frequency on the vertical axis; each class interval gets a rectangle whose height equals its frequency. Because the horizontal scale is continuous — every value between the boundaries is a possible data value — adjacent bars touch, with no gaps. This is the one structural difference from an ordinary bar graph, which represents discrete, unrelated categories and is drawn with gaps between bars.

Reading the modal class needs no construction at all: it is simply the class under the tallest bar, spotted by inspection.

Locating the mode needs one geometric step. Identify the modal-class bar. Draw a line from its top-left corner to the top-left corner of the bar immediately to its right, and a second line from its top-right corner to the top-right corner of the bar immediately to its left. These two diagonals cross at a point inside the modal bar; drop a perpendicular from that crossing point to the horizontal axis, and the foot of the perpendicular is the mode. This construction is not a coincidence — it is a compass-and-ruler version of the algebraic modal-class formula used elsewhere in the same chapter for grouped data:

Mode=l+f1−f02f1−f0−f2×i\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2}\times i

where: ll is the lower boundary of the modal class, f1f_1 is the frequency of the modal class, f0f_0 and f2f_2 are the frequencies of the classes just before and just after it, and ii is the class width. The two routes — drawing diagonals, or plugging into this formula — are two ways of finding the same interpolated point inside the modal bar.

Figure
A histogram of five touching bars with the tallest bar showing two diagonal lines crossing inside it and a dashed perpendicular dropping to the mode on the horizontal axis
Reading the mode from a histogram marks (class boundaries) number of students 0-10 10-20 20-30 30-40 40-50 mode ≈ 24.2 modal class 20-30

The mode formula as a similar-triangles argument

The mode construction locates the crossing point inside the modal bar using nothing beyond similar triangles: this section shows why the perpendicular foot lands exactly at l+f1−f02f1−f0−f2×il + \dfrac{f_1-f_0}{2f_1-f_0-f_2}\times i, so the ruler-and-pencil picture and the plug-in formula are guaranteed to agree, letting you use either one and trust the other as a check.

Step 1. Set up coordinates with the modal class starting at x=lx = l and ending at x=l+ix = l+i. Its bar has height f1f_1. The bar to its left has height f0f_0, and the bar to its right has height f2f_2. Line A joins (l,f1)(l, f_1) — top-left of the modal bar — to (l+i,f2)(l+i, f_2) — top-right of the next bar, matched in height by that bar's actual top edge at x=l+ix=l+i; Line B joins (l+i,f1)(l+i, f_1) to (l,f0)(l, f_0) in the same way.

Step 2. Write Line A's height as a function of horizontal distance x−lx-l from the left edge: it falls from f1f_1 to f2f_2 over width ii, so its height is f1−(f1−f2)i(x−l)f_1 - \dfrac{(f_1-f_2)}{i}(x-l). Line B rises from f0f_0 to f1f_1 over the same width, so its height is f0+(f1−f0)i(x−l)f_0 + \dfrac{(f_1-f_0)}{i}(x-l).

Step 3. At the crossing point the two heights are equal. Set them equal and let x−l=mx - l = m be the unknown horizontal offset of the mode from ll: f1−(f1−f2)im=f0+(f1−f0)imf_1 - \dfrac{(f_1-f_2)}{i}m = f_0 + \dfrac{(f_1-f_0)}{i}m.

Step 4. Collect the mm terms on one side: f1−f0=mi[(f1−f2)+(f1−f0)]=mi[2f1−f0−f2]f_1 - f_0 = \dfrac{m}{i}\big[(f_1-f_2) + (f_1-f_0)\big] = \dfrac{m}{i}\big[2f_1 - f_0 - f_2\big]. Solving, m=f1−f02f1−f0−f2×im = \dfrac{f_1-f_0}{2f_1-f_0-f_2}\times i, so the mode is l+m=l+f1−f02f1−f0−f2×il + m = l + \dfrac{f_1-f_0}{2f_1-f_0-f_2}\times i — exactly the modal-class formula, so the diagonal-lines construction and the algebraic formula are provably the same calculation, one done with a ruler and one done with arithmetic.

Worked example

Draw a histogram for the distribution below, state the modal class, and estimate the mode both graphically and algebraically.

Marks0–1010–2020–3030–4040–50
No. of students5122094

Step 1. Set up axes with the class boundaries 0,10,20,30,40,500, 10, 20, 30, 40, 50 on the horizontal axis and frequency on the vertical axis, and draw five touching bars of heights 5,12,20,9,45, 12, 20, 9, 4. The tallest bar has height 2020 over the class 2020–3030, so the modal class is 20–30.

Step 2. For the graphical mode, join the top-left corner of the 2020–3030 bar, point (20,20)(20,20), to the top-left corner of the 3030–4040 bar, point (30,9)(30,9); join the top-right corner (30,20)(30,20) to the top-right corner of the 1010–2020 bar, (20,12)(20,12). Where these two lines cross, drop a perpendicular to the horizontal axis; a carefully drawn diagram reads off close to 2424.

Step 3. Confirm algebraically using the modal-class formula with l=20l = 20, f1=20f_1 = 20, f0=12f_0 = 12, f2=9f_2 = 9, i=10i = 10: Mode=20+20−122(20)−12−9×10=20+819×10≈20+4.21\text{Mode} = 20 + \dfrac{20-12}{2(20)-12-9}\times 10 = 20 + \dfrac{8}{19}\times 10 \approx 20 + 4.21.

The mode is approximately 24.2, matching the graphical reading, and confirming the two methods are the same interpolation seen from different angles.

Common traps

  • Leaving gaps between bars. The data is continuous, so bars must touch; gaps are a bar-graph feature and cost marks in a histogram.
  • Plotting class marks instead of class boundaries. The horizontal axis needs the actual interval boundaries (0,10,20,…)(0, 10, 20, \ldots), not midpoints, or bar widths misalign.
  • Joining the wrong corners for the mode construction. Always connect the modal bar's top corners diagonally to the adjacent bars' top corners on the matching side — left corner to the right neighbour, right corner to the left neighbour.
  • Forgetting unequal class widths need proportional bar widths. ICSE problems mostly use equal-width classes, but if widths differ, the bar width on the axis must scale with the class width too.

Ask the tutor: if you want to practise the corner-joining construction on your own frequency table, or see why the similar-triangles proof works with different numbers, ask the AI tutor to walk through it with you.

Why do histogram bars touch while bar-graph bars have gaps?

A histogram represents continuous data — every value between two class boundaries is a genuine possible measurement, so there is no real "gap" between one class ending and the next beginning, and the bars are drawn touching to show that continuity. A bar graph represents separate, unrelated categories (say, favourite fruits), where nothing exists "between" two categories, so gaps are drawn deliberately to keep the categories visually distinct.

If I already know the algebraic modal-class formula, why bother with the graphical construction?

Because ICSE explicitly examines the graphical method as its own skill, separate from the formula — you may be asked to draw the histogram and read the mode off it directly, with no formula allowed. The two methods are proven equivalent by similar triangles, so learning the construction is not extra work duplicating the formula; it is the geometric picture that explains why the formula works, and either method serves as a quick check on the other.

What if two bars are equally tall — which is the modal class?

Strictly, a distribution with two equally tall bars is bimodal, and ICSE problems are normally designed to avoid this by giving a single clear tallest bar. If you do meet a tie in practice, state both classes as modal classes and note that the standard single-mode construction and formula do not cleanly apply — this scenario is not typically tested but is worth recognising if it appears.

Before this

Where this leads