Skip to main content

Common football visualizations and statistics: Expected Goals

More detailed and readily available data and a thriving analytics community on Twitter have produced a series of new statistics and visualizations for football fans. In this series I will try to give a brief definition of various metrics, background on charts and sources for where to find them going forward.

Expected Goals (xG) Expected goals try to evaluate the quality of chances. For every shot it assigns a value based on the historical success rate (probability of scoring) of similar shots. The value ranges between 0 and 1. Different properties of the shot can be used to assess its value: location on the pitch, was it a header or a shot, did it occur during open-play or from a free kick/corner, did the shot follow a long series of passes or a rebound. Advanced models also include defensive pressure, i.e. how are defenders positioned around the shot taker.

This metric can be useful in various ways. By comparing expected goals and actual goals for a single player we can see how good his finishing is. Is his actual goal tally driven by his exceptional finishing or is his team generating countless chances for him and he could have scored even more?
For a single game we can compare xG values for both teams to get a sense if the final score was deserved. Team A may have created a large number of chances but was unlucky (or unskilled) in finishing. Team B may have won 1-0 by scoring a very low xG goal (think of a deflected long-range shot) while they created no other chances.
Over a longer time period expected goals and actual goals of a team should converge; this allows us to judge if a team is currently actually very good or only lucky and bound to converge to its mean.

Expected goals also help coaches and players to make better decisions. Should players reduce the number of long-range shots they make? Should they instead make every effort to pass the ball into central positions close to goal? While the focus of xG debates are usually on attack, every aspect can also be applied to a team's defense. The xG metric went mainstream when the BBC included it in its 'Match of the Day' program in the 2017/18 Premier League season. They now usually show the xG values for each team following the match summary.

xG Shot Maps

Below chart of Harry Kane's World Cup shots shows one option to visualize xG for a single player. Each shot's location, type (shape of the marker), outcome (border of the marker) and xG (color shading) are highlighted. Even in this very small sample we can already see that location both vertically (close to goal) and horizontally (ideally in the center of the goal) plays an important part in determining the xG value. Charts similar to this are posted from different accounts. The one below was posted by Statsbomb a football data provider on consultancy. They collect their own data and even have some free data available on their website. They also have their very own podcast.


xG Flow Charts

Another type of chart visualizes the flow and development of xG values for a single match between two teams. Next to a simple comparison of final score to final xG values it allows us to see the timing and quality of chances for each team. This can give us a sense of how the match unfolded and which team was dominant during which period. In the below chart we can see for example that Crystal Palace scored with very much their first chance while Liverpool racked up quite a few chances already without converting any. The chart also immediately tells us that while Firmino's 2:1 was a very low xG shot (on average this shot hardly ever converts to a goal), Salah's 3:2 was a very easy goal.
You can find these type of charts by following BetweenThePosts on Twitter. This account runs a twitter bot which posts this chart for most matches of the big-5 leagues.

Comments