Scatter Plot with Menus
This interactive scatter plot visualizes the Auto MPG car dataset, allowing users to choose which columns map to the x- and y-axes via dropdown menus. The chart uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and render axes, while a custom `scatterPlot` component animates circles with staggered transitions. Users select columns from dropdowns, triggering re-renders that update both the axes and the data points. The metadata comes from the UCI Machine Learning Repository, and the example is built with D3 v5 and rendered as SVG.