Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with menus.js

Public visualization

Viewing a saved revision (read-only)

29f1f6139046416dbacd7ff7b267f917

Scatter Plot with menus.js

0 stars1🌍 Public
Dddperdue
Last edited Mar 30, 2020
Created on Mar 26, 2020

This interactive scatter plot lets users explore the auto-mpg dataset by changing the x- and y-axis variables through dropdown menus. The visualization uses D3 v5 to render animated SVG circles that smoothly transition between selections, with scales, axes, and labels updating dynamically. The code implements custom `dropdownMenu` and `scatterPlot` modules, leveraging D3's `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` APIs, along with `transition` for the animated circle movement.

AI-generated description