Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Mmahaghpanah
Last edited Jul 17, 2020
Created on Jul 11, 2020

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 description

This 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

Similar vizzes