MPG Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot visualizes the MPG dataset, allowing users to explore relationships between quantitative and categorical variables through dropdown menus that select the X and Y axes. Built with D3 v6, it uses a reusable chart pattern with `selection.join` for smooth enter, update, and exit transitions, animating circle positions and radii over 1000ms. The visualization leverages `scaleLinear` and `scalePoint` for axis scaling, with SVG rendering and custom menu components dispatching change events to update the plot dynamically.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed