Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with menus.js

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed