Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, displaying car attributes as circles scaled by linear axes. Two dropdown menus allow users to select which column maps to the x-axis and y-axis, dynamically updating the visualization on change. Built with D3 v5, the code uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for scales and axes, while `select` and `transition().duration(2000).delay()` animate points moving between positions. The SVG rendering includes axis labels and tick marks styled via CSS.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set. The user can select which columns map to X and Y using dropdown menus.
MIT Licensed