Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot displays automobile data from the UCI Machine Learning Repository’s Auto MPG dataset. Users select which columns map to the X and Y axes via dropdown menus, allowing comparison of attributes like horsepower, weight, and acceleration. The visualization uses D3.js v5 with the `scaleLinear`, `axisLeft`, and `axisBottom` APIs, rendering SVGs with animated transitions for circles. A modular `dropdownMenu` function and a reusable `scatterPlot` component manage the UI and chart updates, while data loading is handled through `d3.csv`.
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