powered by
Plot shots xG of a football match
xg_map(match_id, title = "")
Interactive ggiraph transparent plot displaying both teams shots side by side printed to the Viewer.
Desired match ID from understat.com
Plot title; empty by default
if (FALSE) { xg_map(26631, title = "xG Map") }
Run the code above in your browser using DataLab