🌍 Public
Scatter Plot with Menus
This scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, displaying cars as red circles. Users select which numeric columns map to the x- and y-axes via dropdown menus built with a custom `dropdownMenu` function. The chart updates through D3 v5, using `scaleLinear`, `axisBottom`, and `axisLeft` for scales and axes, with animated circle transitions (`transition().duration(2000)`) as new data is rendered.
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.