NASCAR Bar Chart, Starts Before First Win
This bar chart visualizes the number of race starts each NASCAR driver accrued before achieving their first career victory, using a dataset spanning 1975 to 2003. The horizontal bars are sorted by count, with Michael Waltrip requiring 463 starts, dramatically exceeding all others. Built with D3 v5, the visualization uses d3.csv to load precomputed data from a CSV file, then applies d3.scaleLinear for the x-axis and d3.scaleBand for the categorical driver names on the y-axis, rendering bars as SVG rectangles.
AI-generated descriptionThis bar chart shows the number of starts it took each winner in the dataset to win their first race. This comes from the NASCAR dataset, which spans from 1975 to 2003. As this required some calculations to be done beforehand, I utilized R to do this, and used the dataSet.csv file construct here.