Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
WW9183907
Last edited May 17, 2020
Created on May 17, 2020

This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository. Two dropdown menus let the user select which numeric columns (such as horsepower, weight, or acceleration) map to the x- and y-axes. The code uses the d3.csv and d3.scaleLinear APIs for data loading and scaling, with d3.axisBottom and d3.axisLeft for axis rendering. Points animate into position via d3 transitions with staggered delays, and axis labels update to reflect the selected columns.

AI-generated description

This 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

Similar vizzes