Mass/Height Menu
This interactive scatter plot from the Auto MPG dataset lets users explore relationships between numeric car attributes by selecting X and Y columns from dropdown menus. The visualization updates dynamically with a 2-second animated transition, using D3 v5’s scaleLinear, axisBottom, axisLeft, and transition methods. Each circle represents a car, colored red with opacity, while dropdown menus are built using a reusable dropdownMenu function that binds to HTML select elements. Data loads from a CSV file containing car specifications, offering flexible comparison across all numeric columns.
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.