🌍 Public
Fork of Scatter Plot with Menus frm Curran
This interactive scatter plot explores the Auto MPG dataset from the UCI Machine Learning Repository, displaying car attributes as circles. Users select which columns map to the X and Y axes via dropdown menus. Implemented with D3 v5, the visualization leverages `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to render the plot. A custom `dropdownMenu` module handles menu creation, while the `scatterPlot` module animates circle positions using `transition().duration(2000).delay()` when data changes. SVG rendering and CSS styling complete the interface.
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
Comments
Sign in to join the discussion.