Viewing a saved revision (read-only)
6e048b62e8c84ae0812a778c15c20cd8
Scatter Plot with Menus
This interactive scatter plot visualizes car data from the UCI Machine Learning Repository’s Auto MPG dataset. Using dropdown menus, viewers can select which numeric columns map to the X and Y axes, with the axis labels updating accordingly. The visualization is built with D3 v5, using `scaleLinear` for coordinate mapping, `axisBottom` and `axisLeft` for tick rendering, and `transition().duration(2000).delay()` for animated circle movement. The SVG scene includes gridlines with custom styling, and all data values are explicitly converted to numbers before plotting.
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.