Visual Variables
So, let's start visualizing data by drawing marks. We have the following dataset:
Each row in the dataset represents a shot event. A shot event has the following attributes:
location: the location of the shot event.shot: the shot details.outcome: the outcome of the shot.type: the type of the shot.body_part: the body part used to make the shot.technique: the technique used to make the shot.freeze_frame: the freeze frame of the shot.first_time: whether the shot was made first time.end_location: the end location of the shot.key_pass_id: the key pass id of the shot.statsbomb_xg: the StatsBomb expected goals of the shot.
player: the player who made the shot.team: the team of the player who made the shot.minute: the minute of the shot event.- etc.
Among them, we are interested in the location attirbute of the shot event, along with other attributes such as outcome, type, body_part, technique, statsbomb_xg, etc.
Marks
Position
The location attribute of the shot event represents the position of the shot event. We can use the location attribute to draw the position of the shot event on the field.
We can agree that the location attribute can best be represented by the position variable.
Size
Shape
Value
Color
Motion
Others
- Orientation
- Texture