Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
AAjit Singh
Last edited Jan 14, 2021
Created on Jan 14, 2021

This interactive scatter plot visualizes the auto-mpg dataset, allowing users to explore relationships between vehicle attributes by selecting different columns for the x- and y-axes via dropdown menus. Built with D3 v5, the visualization uses `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` to render axes, while `d3.csv` loads the data. Each point animates into position using `transition.attr` with staggered delays (i * 10 milliseconds), and the SVG circles change coordinates smoothly when the selected dimensions change.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes