Skip to main content
100%

Scatter Plot with menus.js

✓ Published0🌍 Public
Ssunsun11166
Last edited Dec 13, 2020
Created on Dec 13, 2020

This interactive scatter plot from the auto-mpg dataset lets users explore relationships between numeric car attributes by switching the axes through dropdown menus. Built with D3 v5, it uses `d3.scaleLinear` and `d3.extent` for scales, with `d3.axisBottom` and `d3.axisLeft` for grid lines. A custom dropdownMenu module triggers re-rendering on selection, while transitions animate circles to their new positions using `transition.attr`. The SVG visualization includes styled labels and tick marks.

AI-generated description
MIT Licensed

Similar vizzes