Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot lets users compare pairs of attributes from the auto-mpg dataset by selecting columns from two dropdown menus. The visualization updates the x and y axes, including their labels and scales, based on the chosen variables. Built with D3 v5, the code uses `scaleLinear`, `axisBottom`, and `axisLeft` to construct the chart, while a custom dropdown menu module handles the selection. Each data point is rendered as a semi-transparent circle with a smooth transition animation as the axes change, providing a dynamic exploration of the relationships between variables like horsepower, weight, and acceleration.
AI-generated descriptionMIT Licensed