Scatter Plot with Menus
✓ Published1🌍 Public
This interactive scatter plot lets users explore the relationship between any two numeric columns of the auto-mpg dataset by selecting them from two dropdown menus. The visualization updates smoothly, with circles animating from the center to their new positions using D3’s `transition()`. The code uses D3 v5’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for axes, and implements the menus with a custom `dropdownMenu` function. The data is loaded via D3’s `csv` from a remote URL, and each point is rendered as an SVG circle.
AI-generated descriptionMIT Licensed