🌍 Public
Scatter Plot with menus
This scatter plot visualizes the Auto MPG dataset, showing relationships between car attributes like horsepower, weight, and acceleration. Two dropdown menus let users select which columns map to the x- and y-axes, with circles animating smoothly to their new positions via `transition().duration(1000).delay()`. The visualization is built with D3 v5, using `scaleLinear` and `extent` for scaling, `axisBottom` and `axisLeft` for axes, and custom reusable functions `dropdownMenu` and `scatterPlot` for modularity.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set
MIT Licensed
Comments
Sign in to join the discussion.