{"version":"1.0","type":"rich","title":"Plot of NASCAR Winners by Number of Lead Changes","description":"This visualization plots NASCAR race winners by year and number of lead changes, with each circle colored by track name and sized by track length. The scatterplot uses Vega-Lite’s API for encoding, with `vl.x().fieldN('Year')`, `vl.y().fieldQ('Lead Changes')`, and `vl.size().fieldN('Length')` to differentiate track dimensions. Data is loaded asynchronously from a CSV via D3’s `csv` function, then rendered using Vega’s SVG view. The tooltip, built with `vega-tooltip`, displays the driver and track name on hover. Colors and sizes reveal patterns, such as larger ovals enabling more overtaking than short tracks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c31278a5728942dfb4325c9759fd885c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}