The following plots can be generated for all matches in the StatsBomb Open Data repository by adjusting the match_id variable in the source files. Where deviating from the 105mx68m standard dimensions, pitch_length and pitch_width variables have to be adjusted for correct representation.
Does not include penalties and own goals
Adjustment of nr_clusters might be required depending on the number of total passes
Careful: the starting configuration for the clusters depends on the random seed, repeated runs create different plots
Adjustments of pass_pair_threshold and player_threshold might be required for better overview
Default player position is the average of all passing and receiving positions for each player
Requires a selection of possession ids in the possession_selection list variable (e.g. 6 and 119 in this plot)
Adjustment of binwidth might be required depending on the number of total pass sequences