Chapter 7 Key Takeaways — Visualizing Cricket

Key Takeaways

  1. Start from the cricket question, then pick the chart. Manhattan for which overs, worm for ahead of the first innings' path?, run-rate chart for what's needed from here?, partnership bars for who built it, heat map for two dimensions, small multiples for many matches or players, control chart for real change or noise?
  2. Put the comparison on a common scale. People read position most accurately, then length; angle, area and colour much less so. Pies and colour-only displays are for decoration, not analysis.
  3. The same match can tell different stories on different charts. At Newlands (2017) the worm showed Sri Lanka level with South Africa after 15 overs (116/2 v 119/3) while the run-rate chart showed 10.80 needed against 7.73 scored. Both were right; they answer different questions.
  4. Charts are format-specific. Manhattans and run-rate charts are one-day charts. A Test needs survival (balls per wicket), the lead across four innings, and partnerships — the one chart that transfers to every format.
  5. Colour by job, and design for colour-vision deficiency. Batting first blue, batting second orange; wickets red and an "X". Matplotlib's default red and green fall to a colour difference of 7.3 under simulated deuteranopia; its orange and green to 4.6 under protanopia.
  6. Vivid is not the same as reliable. Heat-map cells and radar spokes on small samples look as confident as large ones. Suppress, label or shrink them.
  7. Control charts separate signal from noise. IPL first-innings averages of 2023–2026 (183.0 to 195.7) all sit above the 2008–2022 limits of 147.3–179.0; every earlier season, including 2018's 172.1, sits inside. A signal is not a cause.
  8. Radar charts mislead by shape. Polygon area depends on axis order (up to 35% for Deepti Sharma's uneven profile) and percentiles depend on the comparison pool. Use aligned strips in raw units for comparisons.
  9. Wagon wheels, pitch maps and beehives need data that is not public. In this book they are drawn from the simulated tracking layer — real outcomes, simulated locations — and labelled 🧪. A pattern built into a simulation is not a finding when it comes back out.
  10. The dashboard is for the analyst; one chart with a message is for the reader. Title with the message, annotate one or two moments, pass the thumb test.

Metrics & Formulas

Name Formula / definition Notes
Current run rate (CRR) 6 × runs ÷ legal balls bowled runs per over
Required run rate (RRR) 6 × (target − runs) ÷ legal balls remaining undefined at 0 balls left; no RRR in Test chases
Manhattan bar all runs in the over (bat + extras) wickets marked per over; retirements excluded
Worm cumulative runs v legal balls ÷ 6 compares with the other innings' path, not with par
Partnership runs (incl. extras) and legal balls between wickets stands also end at retirements in crease.charts
Balls per wicket legal balls ÷ wickets the key Test-innings survival number
Relative phase SR batter's phase SR − league phase SR (same seasons) diverging heat map; blank cells under 30 balls
Percentile rank share of the pool at or below the value (inverted if lower is better) depends entirely on the pool
XmR limits x̄ ± 2.66 × MR̄ (baseline period) MR̄ = mean of |xᵢ − xᵢ₋₁|
Radar polygon area ½ sin(2π/k) Σ vᵢ vᵢ₊₁ changes with axis order
CIE76 ΔE Euclidean distance in CIE Lab rough working rule: under ~10 is hard to tell apart

Common Mistakes (and the fix)

Mistake Fix
Reading a tall Manhattan bar as "the batters attacked" Check the over's deliveries — extras count
Treating the worm as a win-probability chart Use a WP model (Chapters 9, 20); at minimum add wickets in hand
Starting a bar axis above zero Start at zero, or switch to a dot plot
Two y-axes on one chart Two aligned charts
Red/green to mean bad/good Blue/orange plus shape or direct labels
Colouring tiny samples as vividly as large ones Suppress (< 30 balls), print n, or shrink toward the league
Missing cells drawn in the "average" colour Flat grey labelled "n/a"
Unshared axes in small multiples sharex=True, sharey=True, limits set from the largest value
Calling a high season a "trend" Control chart with baseline limits
Reading a radar's area as overall quality Aligned strips in raw units; radar only as a thumbnail
Stating a sim_ number as a fact about a player Never; teach the method, label the chart 🧪
A Manhattan of a Test innings Lead chart, four-innings worms, partnership bars

Decision Framework — before you publish

  1. Question: what is the one thing the reader should learn?
  2. Format: T20, ODI or Test — is this chart built for it?
  3. Encoding: is the key comparison on a common position or length scale?
  4. Samples: does any mark rest on too few balls? Suppress, label or shrink.
  5. Colour: assigned by job, colour-blind-safe, never the only cue.
  6. Honesty: any simulated data labelled; no sim_ number stated as fact; real numbers traceable to code output.
  7. Message: title says the finding; one or two annotations; passes the thumb test on a phone.