Skip to main content
100%

Scatter Plot with menus

✓ Published1🌍 Public
SSagar Malviya
Last edited Jun 3, 2019
Created on Jun 3, 2019
Forked from Cars Scatter Plot

This interactive scatter plot displays relationships between pairs of variables from the auto-mpg dataset. Users select which columns to compare on the x and y axes via HTML dropdown menus, which trigger the plot's update. The visualization uses d3 v5's `scaleLinear`, `axisLeft`, and `axisBottom` to create the axes, with a 2-second animated transition on each circle via D3's transition system. Dropdown menus are built using D3 selection and DOM manipulation, re-rendering the SVG on each change.

AI-generated description
MIT Licensed

Similar vizzes