Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of NASCAR Scatterplot With Dropdown, Filter

Public visualization

Viewing a saved revision (read-only)

ad7484d99e294e05a81383226cee1d18

Fork of NASCAR Scatterplot With Dropdown, Filter

0 stars0🌍 Public
AAndre J Denais
Last edited Aug 4, 2022
Created on Aug 4, 2022

A NASCAR scatterplot displays race winners by starting position or other selectable statistics across years, with each point colored by track name. A dropdown menu switches between metrics like payout, caution flags, lead changes, and winning time. Hovering over the legend highlights all points for a specific track while fading others. The visualization uses React with D3 scales (scaleTime, scaleLinear, scaleOrdinal) for axes and coloring, rendering SVG circles, and loads data from a CSV file.

AI-generated description

This scatterplot is an expansion on a previous viz I created that shows NASCAR winners by starting position, split by year. This plot colors the points by the track name, adds a dropdown and a legend. The dropdown allows for the selection of different statistics pertaining to the race winners. In addition, hover capability has been added so that hovering over a track in the legend will highlight all of the dots pertaining to that track. These edits will provide the viewer with an opportunity to look for patterns among tracks and track types, and among several different variables. This data comes from a rendition of the NASCAR dataset, which spans from 1975 to 2003.