Skip to main content
100%

NASCAR Starts Revised - Hover Capability Added

✓ Published3🌍 Public
RRobert Johnson
Last edited Oct 5, 2021
Created on Oct 4, 2021
Forked from Covid Cases Hover

This bar chart shows the number of races each NASCAR driver competed in before their first win, using data covering 1975–2003. The chart uses a linear scale for the y-axis and a band scale for drivers on the x-axis, with each bar representing a driver. Hovering over a bar triggers a tooltip built with the d3-tip library, displaying the driver’s start count, win year, and track name in an SVG context. The visualization is rendered with D3 v5.

AI-generated description

This 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. This comes from the NASCAR dataset, which spans from 1975 to 2003. 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, the year, and the track they won on.

**Fix: The Y-axis

MIT Licensed

Similar vizzes