🌍 Public
Viewing a saved revision (read-only)
1b7e26b786aa4720952d8d5e8046cbff
Scatter Plot with Menus
This interactive scatter plot uses dropdown menus to explore relationships between attributes of the auto-mpg dataset. Selecting different columns from the menus updates the x- and y-axes via `d3.scaleLinear` and re-renders the circles through a general update pattern. The code leverages D3 v5’s `csv` for loading data, `dropDownMenu` for UI controls, and transitions with `delay` to animate points emanating from the center. Axes are drawn using `axisBottom` and `axisLeft` with gridlines, and menu selections trigger a full chart re-render.
AI-generated descriptionD3 course follow along.