Viewing a saved revision (read-only)
f82e8b9219af4848bfff8c1b489bc73b
Scatter Plot with Menus
This scatter plot displays car data from the UCI Machine Learning Repository Auto MPG dataset, letting users select which columns to map to the X and Y axes via dropdown menus. The plot uses d3.csv to load data, d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom for scaling and axes, with SVG circles rendered at 10px radius. Menu interactions trigger transitions that animate each circle’s position over 2 seconds with staggered delays. Axes labels update dynamically based on the selected columns, and the visualization includes tick gridlines and rotated Y-axis text.
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.