Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, allowing users to compare any two numeric car attributes. Dropdown menus built with a custom `dropdownMenu` module let viewers select which columns map to the X and Y axes. The visualization uses d3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to render axes, while circles transition smoothly to new positions over two seconds using `transition().duration(2000)`. SVG rendering and animated updates are driven by a reusable `scatterPlot` function.
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