Viewing a saved revision (read-only)
48320b2ad975455c9ad6231b5ee968ff
Scatter Plot with Menus
This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository. Two dropdown menus let viewers choose which car attributes map to the X and Y axes, with all columns available as options. Built with D3 v5, the visualization uses `scaleLinear` for axes, `axisBottom` and `axisLeft` for tick marks, and animates circle positions with a staggered `transition().duration(2000)` when selections change. SVG rendering displays red semi-transparent circles, with axis labels updating dynamically to reflect the selected 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.