Fork of Plot of Top 10 NASCAR Winners colored by Track
This stacked bar chart ranks the top 10 NASCAR drivers by total wins, with each bar segmented and colored by the track where each win occurred. The visualization uses Vega-Lite via the vega-lite-api library, filtered from a CSV dataset to include only drivers flagged as “IsInTop10”. Hovering over a segment shows a tooltip with the track name and win count, facilitated by the vega-tooltip handler. The chart’s color scale maps each track to a distinct color, revealing the distribution of wins across venues for the period 1975–2003.