Viewing a saved revision (read-only)
78768229bdfb4a288910e2534ec3023a
Fork of Scatter Plot with Menus
This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository. Users can dynamically select which data columns to map to the X and Y axes using dropdown menus. The visualization employs D3.js v5 with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to render axes and circles, with points appearing in an animated transition. The dropdown menus are constructed using a custom `dropdownMenu` function that binds `select` and `option` elements to column names. Data is loaded via `csv()` and parsed into numeric values for 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.