Skip to content
Sports & Analytics Medium #xg#shot-quality#analytics

Expected Goals (xG) by Shot Location

Probability of scoring as a heatmap over the pitch - the central six-yard box dominates.

A free, animated expected goals (xg) by shot location you can read here or embed on any website, from Scrollchart.

Expected Goals (xG) by Shot Location

xG by Shot LocationExpected goals = probability of scoring

Heatmap of conversion rates over the attacking half, with values dropping rapidly as distance and angle widen. Penalty kicks plot at 0.76 xG, central six-yard at 0.5+, edge of box at 0.05. Annotates how xG aggregates over a season to predict performance better than goals scored.

Good for

  • Tactical analysis articles
  • Season previews using xG

Source & accuracy

This expected goals (xg) by shot location is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

How expected goals are calculated

Expected goals, written xG, assign every shot a probability of scoring between 0 and 1 based on the historical conversion rate of similar chances. Models train on large datasets of shots and weigh features such as distance from goal, angle to the posts, body part used, whether the chance came from open play or a set piece, and the type of assist.

A penalty carries an xG around 0.76 because penalties are converted roughly three times in four. A speculative shot from 30 yards might be worth 0.03. Summing the xG of all a team's shots estimates how many goals an average team would have scored from those chances.

Why shot location dominates the heatmap

Plotting xG across the pitch produces a heatmap that peaks sharply inside the six-yard box and the central penalty area, where the angle to goal is widest and the keeper has the least time to react. Value falls off steeply with distance and toward the touchlines, where the scoring angle narrows.

This is why analysts prize chances created in the central zone and treat long-range shots as low-value, even though they look spectacular when they occasionally go in.

Embed this diagram

Add this animated expected goals (xg) by shot location to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated expected goals (xg) by shot location for any website.
Who uses it
Sports blogs.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="xg-shot-quality" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Expected Goals (xG) by Shot Location" for my website?
Scrollchart provides "Expected Goals (xG) by Shot Location" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a expected goals (xg) by shot location in WordPress or a static site?
Paste the HTML snippet from the Scrollchart diagram page into your WordPress post (in HTML/code view), your Webflow embed block, or directly into a static HTML file. No plugin is needed. The diagram loads from scrollchart.com and paints in as the reader scrolls.