🌍 Public
Scatter Plot with Menus
This scatter plot displays car data from the UCI Machine Learning Repository’s Auto MPG dataset, with dropdown menus letting users select which columns map to the X and Y axes. The visualization uses D3 v5 to render SVG circles with animated transitions, scaling axes via `scaleLinear` and updating axes with `axisBottom` and `axisLeft`. The menus are built using a reusable `dropdownMenu` function, while the plot itself updates smoothly thanks to `transition().duration(1000)` on circle positions.
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
Comments
Sign in to join the discussion.