Athlete Data from 2024 Boston Marathon
This visualization displays athlete data from the 2024 Boston Marathon, showing the raw dataset as a JSON-formatted text dump within a `<pre>` element. It uses D3 v7’s `csvParse` to load and parse the data, converting numeric string fields like `first_half`, `finish`, and `percent_change` into numbers for analysis. The visualization updates reactively via a `setState` function, triggering a re-render of the container with the newly fetched data. It demonstrates a minimal data-loading workflow without any chart or graphical encoding.
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.