Scatter Plot with Menus
✓ Published0🌍 Public
This scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, displaying cars' attributes as circles. Dropdown menus let users select which data columns map to the X and Y axes, dynamically updating the chart. The code uses D3 v5’s `scaleLinear`, `axisLeft`, `axisBottom`, and `dropdownMenu` custom component. Animated transitions, via `transition().duration(5000)`, move circles to new positions, while SVG renders the axes, labels, and semi-transparent red points.
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