Chapter 25 Quiz — F1 Data Visualization

Twenty-one questions: 11 multiple choice, 5 true/false, 3 short answer and 2 chart-reading. The answers are under each question.


Multiple choice

1. In the 2025 Japanese GP default gap-to-leader chart, Verstappen's line shows him 11.033 s behind on lap 22. The best explanation is:

  • A. He lost 11 s with a slow pit stop
  • B. Antonelli, who had not yet stopped, was leading, and the chart's reference is the leader
  • C. A timing glitch in OpenF1
  • D. He was held up by a safety car
Answer

B. Antonelli led laps 22–31 while the front-runners' stops played out. The chart measures every car against whoever leads, so the reference moved.

2. Which reference keeps a gap chart's lines flat when two cars run at the same pace, regardless of pit stops by other cars?

  • A. Gap to leader
  • B. Gap to the winner's average pace
  • C. Gap to a named, fixed car
  • D. Position at the end of the lap
Answer

C. A fixed car is a stable reference (viz.pair_gaps). Option A moves when the leader changes. Option B tilts every line whenever the race average includes slow laps.

3. WCAG 2.1 asks for what minimum contrast ratio for graphical objects such as chart lines?

  • A. 1.5:1
  • B. 3:1
  • C. 4.5:1
  • D. 7:1
Answer

B. 3:1 (success criterion 1.4.11, non-text contrast). 4.5:1 is the threshold for body text.

4. In the 2025 audit, how many of the ten OpenF1 team colours fell below 3:1 on a white page?

  • A. 2
  • B. 4
  • C. 6
  • D. 10
Answer

C. Mercedes 1.40, Kick Sauber 1.70, Williams 1.93, Haas 1.95, McLaren 2.52 and Racing Bulls 2.95.

5. Which 2026 pair of team colours is effectively identical even for full colour vision (ΔE 1.7)?

  • A. Red Bull and Williams
  • B. Alpine and Racing Bulls
  • C. Audi and Ferrari
  • D. Cadillac and Haas
Answer

C. Audi #F50537 and Ferrari #ED1131. Cadillac and Haas (4.8) and Alpine and Racing Bulls (7.4) are close too, but not as close.

6. Why does red–green colour-vision deficiency leave lightness differences mostly intact?

  • A. Because the simulation matrices are approximate
  • B. Because it removes most of one hue axis but leaves luminance largely unchanged
  • C. Because screens are calibrated for it
  • D. Because OKLab ignores lightness
Answer

B. Deuteranopia and protanopia merge the red and green signals. Lightness, which depends mostly on the total light, survives, so lightness is the most robust channel for encoding order.

7. A bar chart of median race lap times starts its axis at 90.9 s. Gasly's bar is 12.7 times Piastri's. The ratio of their lap times is 1.0093. The chart has:

  • A. Used a meaningful zero
  • B. Encoded a quantity with no meaningful zero as a length, exaggerating the difference by about 1,260 times
  • C. Correctly shown the gap
  • D. Used a logarithmic axis
Answer

B. Bars promise length. Convert the values to gaps from the fastest car, which do have a meaningful zero.

8. The rainbow 'jet' colormap's OKLab lightness decreases in 108 of its 255 steps. What does that do to a speed-coloured track map?

  • A. Nothing, because hue carries the order
  • B. Middle speeds look brightest and the fastest straights look dark, so the visual order of speed is broken
  • C. It improves contrast on white
  • D. It makes gear changes visible
Answer

B. Readers rank marks by lightness, and jet's lightness peaks in the middle of the scale.

9. For a "who gains where" map of two drivers' lap delta, the best colour scale is:

  • A. Sequential viridis
  • B. Rainbow
  • C. Diverging: two opposing hues meeting at a neutral grey
  • D. One team colour at different opacities
Answer

C. The data have a sign and a meaningful zero. A grey midpoint makes "no measurable difference" recede.

10. At the 2025 Japanese GP, the median interquartile range of a top-ten driver's clean laps was 0.495 s, while the median gap between neighbouring finishers' median laps was 0.098 s. The best chart for race pace is therefore:

  • A. Bars of the mean
  • B. A table of medians to three decimals
  • C. Violins or strips showing every lap, with the median and n marked
  • D. A pie chart of lap shares
Answer

C. The spread within each car is about five times the gaps between cars, and only a distribution chart shows that.

11. Which statement about the chapter's interactive plotly chart is correct?

  • A. It replaces the need for a static figure
  • B. It loads plotly.js from a CDN, has a static PNG fallback and a CSV table view
  • C. It downloads data from OpenF1 when opened
  • D. Tooltips are the only way to read the values
Answer

B. The HTML is 57 KB because plotly.js comes from its CDN. All data are embedded at build time, and the fallback and table view serve readers who cannot use the interactive version.


True / False (with a one-line justification)

12. Removing pit out-laps from a lap-time series before drawing a line makes the chart more honest.

Answer

False. The line then bridges the gap with invented lap times. Clip the view, break the line and mark the excluded laps (viz.clip_view).

13. Team-mates in the same car colour can be separated reliably by choosing a slightly lighter shade for one of them.

Answer

False. A shade close enough to read as the same team is too close for thin lines (ΔE far below 8). Use line style, markers or direct labels.

14. Darkening every failing 2026 team colour to 3:1 contrast also reduced the number of colliding pairs.

Answer

False. Collisions rose from 4 to 9 (Case Study 2), because compressing the lightness range removed the differences that had kept some colours apart.

15. On the 2025 Suzuka pole lap, 65.1 % of the sector-anchored delta trace lies within ±0.05 s.

Answer

True. That share is printed by 04_telemetry_design.py, and it is why the chart names the noise band.

16. Small multiples should let each panel choose its own y-axis range so every panel uses its space fully.

Answer

False. Independent scales make shapes look comparable when they are not. Share the axes.


Short answer

17. Give three cues, other than colour, that Figure 25.4's "after" version uses to separate Hamilton, Leclerc, Hülkenberg and Bortoleto, and say what each one separates.

Answer

Line style separates team-mates (solid and dashed). Marker shape separates teams (circles for Ferrari, diamonds for Audi). Direct labels at the line ends name driver and team, so no legend matching is needed.

18. Explain why the 2026 Las Vegas race trace against the winner's average pace is dominated by one V shape, and what the chapter changed to fix it.

Answer

The winner's average lap includes seven safety-car laps (laps 19–25), so it is far slower than any green lap: every car appears to gain about 6.5 s a lap under green and to give it all back under the safety car. The fix was a fixed reference, the gap to Verstappen (Figure 25.16b), which shows the actual story: Piastri closing from 6.0 s to 0.8 s.

19. What should the source line of a published degradation chart always state, and why?

Answer

Which fuel correction was used (for example, the toolkit default of 100 kg × 0.03 s/kg, an assumption), the filter (clean laps, warm-up laps dropped) and n. Chapter 22 showed that degradation slopes depend heavily on the fuel correction, so a slope without its correction is uninterpretable.


Chart reading

20. Look at Figure 25.17 (image). In the top panel, does Norris's line ever enter the pale band nearest the zero line? What does the middle panel show about the two cars' lap times after the stops, and how do the two panels fit together?

Answer

No. The band is "within 1 s" and Norris stays 1.0–2.6 s behind on every racing lap. In the middle panel his and Verstappen's lap times interleave almost lap for lap after the stops (Norris quicker on 18 of 31 clean final-stint laps, median −0.013 s). Equal pace with alternating small differences means the gap barely moves: a stand-off.

21. Look at Figure 25.10 (image). Which season's panel fails the quality check, and what in the speed trace gives it away even without the red shading?

Answer

2026 (Antonelli's pole lap). From about 4,000 m to about 5,400 m the speed is a flat line near 190 km/h through a section where the other three seasons show braking, cornering and acceleration. The frozen feed lasts 25.9 s, and the lap integrates to only 92.8 % of the official length.


Scoring guide

Score What it means
19–21 You can design and critique F1 charts. Go straight to the exercises in Parts C and D.
15–18 Solid. Revisit the section for each question you missed, especially 25.2 if you missed colour questions.
10–14 Reread 25.1–25.3, then redo the 🔄 checks before attempting the exercises.
below 10 Work through the chapter again with the scripts open. Rerun 02_colour_audit.py and 03_honest_axes.py and compare the before/after figures yourself.