Distributions of height by position for each player in the 2018 FIFA World Cup
courtesy of Aristotle Ou (@Camboyano)
Aristotle created this slow reveal graph to launch an eighth grade lesson from the CPM math curriculum.
CC3 CPM Lesson 7.1.2 Is There a Relationship?
(Slide deck includes notes and questions to elicit discourse)
Type of Graph: box plot
Source: John W. Miller (Reddit user ‘textureflow’ on the Data is Beautiful subreddit)
Data source: scraped World Cup soccer data from the SportRadar API.
Tool: Python and matplotlib. Here is the code.
The middle line indicates the median of the team’s height distribution. The edges of the boxes extend to the first and third quartiles of the data. The whiskers extend to show the range of the data, excluding any extreme outliers.
Here are the distributions of height for each nation in the World Cup.
Here is an interactive version of this plot on John W. Miller’s blog.
Potential Math Content: box plot, box and whisker plot, interquartile range, median, percentile, quartiles,
Potential Content Connections: soccer, football, world cup, sports, health, heights,