Boston Marathon Box and Whisker Plot
This box and whisker plot shows how runners’ finish times change between the first and second halves of the 2024 Boston Marathon, broken down by age group. The chart displays percent change in split times, with positive values indicating a slower second half. It uses d3.scaleBand and d3.scaleLinear for axes, while box plot statistics are calculated manually from the data. Outliers are filtered by removing the most extreme 20% of values beyond the whiskers. The visualization is built with React and D3 v7, reading from a CSV of finisher data sourced from Kaggle.
AI-generated descriptionhttps://www.kaggle.com/datasets/runningwithrock/2024-boston-marathon-weather-and-splits/data
This dataset shows the athlete data of all finishing runners from the 2024 Boston Marathon. Each item is a single runner's data, and the attributes of this dataset are the following:
Bib (ordinal, sequential): The bib number of the specific athlete Zip (categorical): The zip code that the athlete used as their home address when registering for the race Age (quantitative, sequential): The age of the athlete when they ran the race Age Group (categorical): The age range that the athlete falls into Gender (categorical): The gender stated by the athlete when registering First Half (quantitative, sequential): The time it took (in seconds) for the athlete to complete the first half of the race Second Half (quantitative, sequential): The time it took (in seconds) for the athlete to complete the second half of the race Finish (quantitative, sequential): The total time it took (in seconds) for the athlete to complete the race Positive Split (quantitative, diverging): The difference in seconds between the first and second half of the race for the athlete, with a positive number representing a slower second half, and a negative representing a faster second half. Percent Change (quantitative, diverging): How much the first and second half differed by percent, with a positive percent being a slower second half and a negative being a faster.