Scatter Plot with Menus
✓ Published1🌍 Public
This scatter plot displays car data from the UCI Machine Learning Repository’s Auto MPG dataset, with dropdown menus letting viewers assign any data column to the X or Y axes. The visualization uses d3.csv for loading, d3.scaleLinear, d3.extent, and d3.axisBottom/axisLeft for scales and axes, while d3.transition animates circles over two seconds when columns change. The code builds menus from data.columns and updates the SVG scatter plot dynamically.
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