StarkPitch
Sign up

Learn path

1 / 4

Foundations

What event data records and what it leaves out, what xG tells you about a shot, and how to read a shot map. Guests can read this level; an account only saves your progress.

  • 3 lessons · about 24 min
  • Pass mark: 70%

What event data actually is

7 min

Event data is a football match written down as a list of rows. Every time a player does something with the ball (a pass, a carry, a shot, a tackle, a foul), a data collector watching the video adds one row. The file for the 2022 World Cup final has 4,407 rows.

Each row answers four questions: what happened (pass, shot and so on), who did it, when (minute and second), and where (x and y on the pitch). Some rows add more: where a pass ended, whether it reached a teammate, and for a shot, its xG. The figure shows Argentina's second goal in that final: a ten-second move that the file records in six main rows.

#TimePlayerActionWhere (x, y)
1 35:12 Molina Pass 25.9, 71.8
2 35:14 Mac Allister Pass 41.8, 59
3 35:15 Messi Pass 52.9, 61.8
4 35:17 Álvarez Pass 63.2, 68.2
5 35:20 Mac Allister Pass 99.3, 54.9
6 35:22 Di María Shot · xG 0.30 · goal 111.8, 32.1

The file also has 8 smaller rows for this move: players receiving the ball, two short carries and the goalkeeper.

Argentina's second goal in the 2022 World Cup final, as the event file records it: six main rows in ten seconds.

How to read this: Each numbered dot on the pitch is one row in the table. The lines show where each pass went. Argentina attack to the right. x runs from 0 to 120 along the pitch and y from 0 to 80 across it.

Read the rows from top to bottom and you can redraw the move: Molina to Mac Allister, Mac Allister to Messi, Messi's quick pass to Álvarez, a long pass forward to Mac Allister, and his pass across to Di María, who scores. Every chart on this site, from shot maps and pass networks to xG totals, is built by counting and drawing rows like these.

Some things are not in the rows: where the other 21 players were, runs made without the ball, and how fast anyone ran. That is tracking data, which cameras record many times per second. The open StatsBomb files used on this site do not include it.

One row records the ball, not the rest of the pitch.

How to read this: The green arrow is the row for Álvarez's pass at 35:17. The grey circles stand for the other 21 players. The event file does not say where they were, so here they are only a sketch.

So event data shows what happened on the ball, where and when. To understand why a player made a choice, or what the players without the ball were doing, you need other sources, such as the video.

xG and its limitations

9 min

xG (expected goals) estimates how good a shot was. A shot worth 0.30 xG is one where, in the past, similar shots became goals about three times out of ten. It is a probability, not a prediction about this one shot.

Ten similar shots of the same quality

Historical rate: about 3 goals, not a promise

xG is a probability. Similar shots in the past became goals at a certain rate. That rate is not a promise for this shot.

How to read this: Ten equal circles stand for ten similar shots of about 0.30 xG each. In the past, about three of them scored. In a single match, any outcome is possible.

Try another shot quality (xG)

0.30

xG is most useful over many shots. In a single match, results swing a lot, so a team can create more xG and still lose. xG also ignores how the attack was built and what happened after the shot.

In short: xG measures the quality of a shot. It does not measure the whole attack, and it does not say who deserved to win.

Reading Shot Maps

8 min

A shot map draws each shot where it was taken. Read the position and the xG together: when the size of each dot shows the shot's xG, a long-range effort and a close-range chance look clearly different.

Ten weak shots from distance are not the same as three chances in front of goal. The map also shows nothing about players who did not have the ball, so do not guess a team's plan from where the dots fall.

Equal dots show only where shots were taken. To show shot quality, size or colour the dots by xG.

How to read this: Left: three equal dots. Right: the same shots sized by quality. A long shot is no longer equal to a tap-in.

A simple habit: write one sentence for what you see, one for what you conclude from it, and one for what you cannot claim.

From Match Analysis: Argentina–France shot map

  • Largest dot: the best chance by xG
  • Many small dots far from goal: lots of shots, little quality
  • Bright filled dot: a goal

Shot maps on match pages show more than location. Read the number of shots together with their quality and the phase of play.

How to read this: This is the Argentina–France shot map from the match pages. Before you count dots, check how the markers show quality and phase of play.