🌍 Public
Viewing a saved revision (read-only)
b3eed087abf14479b9e0b563c338ea25
Scatter Plot with Menus
This interactive scatter plot lets users explore the relationship between any two numeric variables in the auto-mpg dataset through dropdown menus. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`d3.axisBottom` for scales and axes. Selecting a new column from either menu triggers a re-render that animates circles to their new positions using `transition().duration(2000).delay()`. Each circle represents a car, with red fill and partial opacity, plotted according to the chosen x and y axes. The data is loaded from a CSV file via `d3.csv`.
AI-generated description