Fork of Scatter Plot with Menus
This interactive scatter plot visualizes data from the Auto MPG data set, with dropdown menus allowing users to select which car attributes map to the X and Y axes. The visualization uses D3.js (v5) to render an SVG with animated circle transitions and axis updates when menu selections change. The dropdown menus are constructed using a reusable `dropdownMenu` function built on D3's selection API, while the scatter plot itself is created with the `scatterPlot` module using `scaleLinear` for scaling, `axisLeft` and `axisBottom` for axes, and `transition` for animated point movement.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set. The user can select which columns map to X and Y using dropdown menus.