Fork of Scatter Plot with Menus
✓ Published0🌍 Public
This scatter plot visualizes the Auto MPG data set from the UCI Machine Learning Repository, displaying car attributes as red semi-transparent circles. Users select which data columns map to the X and Y axes via dropdown menus, with the axes and labels updating accordingly. The code uses d3.csv for data loading, d3.scaleLinear for scales, d3.axisLeft and d3.axisBottom for axes, and a d3 transition with duration and delay to animate circles to their new positions. SVG elements are rendered and updated through a modular dropdownMenu and scatterPlot function pattern.
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