Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

0d939e8234d8489a8fb4eefbfe9083d1

Scatter Plot with Menus

0 stars0🌍 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.