Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot explores the Auto MPG dataset from the UCI Machine Learning Repository, allowing users to select which variables appear on the X and Y axes via custom dropdown menus built with the `dropdownMenu` function. The main visualization uses d3’s `scaleLinear`, `axisBottom`, and `axisLeft` to render axes, while circles are animated into position using `transition().duration(2000)`. When the user changes a menu selection, the chart re-renders smoothly with updated scales and labels.
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.
MIT Licensed