Fork of NASCAR Most Starts Before First Win
A fork of the NASCAR Starts Before First Win visualization, this bar chart shows the number of race starts each driver took before their first victory. Each bar is colored by the track where the driver won, and hovering reveals the driver, track, and start count in a tooltip. Clicking a track selects all bars associated with it, dimming non-matching bars through Vega-Lite’s selectMulti and opacity encoding. The chart uses Vega-Lite v4, D3 for CSV loading, and the vega-tooltip handler, with data sourced from a NASCAR race dataset covering 1975-2003.
AI-generated descriptionThis bar chart is an expansion on a previous viz I created which shows the number of starts it took each winner in the dataset to win their first race. While the data is the same, this version incorporates the idea of being able to hover over one of the bars, and get information on that driver's first win. Highlighted data includes the number of starts it took, and the track they won on. The bars are also colored by the track they won on. This data is a rendition of the NASCAR dataset, which contains information on races from 1975 to 2003.
Goal: When added to the dashboard, I would like this viz to filter out the bars pertaining to the selected track (if there are any).