Plot of NASCAR Winners by Starting Position
This scatterplot displays NASCAR race winners from 1975 to 2003, plotting each winner’s starting position against the race year. Points are colored by track name and sized by track length, revealing patterns such as larger ovals like Talladega producing winners from farther back in the field, while short tracks like Martinsville reward front-runners. The visualization uses d3.csv to load the winners dataset and builds the chart with Vega-Lite API, encoding positions, colors, sizes, and tooltips. A custom config ensures axis and label styling for readability.
AI-generated descriptionThis scatterplot is an expansion upon a previous viz I created that shows NASCAR winners by starting position, split by year. That viz was very simple in that the points were all the same color, and the same size. Thus, this plot colors the points by the track name, and sizes them by the track length. This provides the viewer with an opportunity to look for patterns, particularly among tracks and track types. For example, one may notice that the larger dots (such as the 2.66 mile Talladega Superspeedway) produce a lot more winners from further back in the field than short tracks like the .526 mile long Martinsville Speedway where passing is harder. This data comes from a rendition of the NASCAR dataset, which spans from 1975 to 2003.