Skip to main content
100%

scatter plot with menus

✓ Published0🌍 Public
Ssingularity6033
Last edited Jan 31, 2020
Created on Jan 31, 2020
Forked from cars scatter plot

This interactive scatter plot lets users explore the relationship between any two numeric columns of the auto-mpg dataset, which is loaded via `d3.csv`. Two dropdown menus, built with the custom `dropdownmenu` function and D3’s `select` data join, control which columns appear on the x- and y-axes. The chart itself is rendered as SVG using D3 scales and axes, with circles that transition smoothly to new positions over 2 seconds when a menu selection changes. Axis labels update dynamically, and the visualization uses the margin convention with gridlines from `d3.axisBottom` and `d3.axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes