Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Ffahmijaafar
Last edited Dec 9, 2019
Created on Dec 9, 2019
Forked from Cars Scatter Plot

This interactive scatter plot visualizes the auto-mpg dataset, with dropdown menus allowing viewers to select which numerical columns appear on the x- and y-axes. Built with D3 v5, it uses scales, axes, and SVG circles to render the data, while a custom `dropdownMenu` module and D3’s `transition` animate points to new positions over two seconds when the axis selections change. The scatter plot code reuses `axisBottom`, `axisLeft`, and `scaleLinear` for the chart structure.

AI-generated description
MIT Licensed

Similar vizzes