Scatter Plot with Menus - 1
This interactive scatter plot displays automobile data from the UCI Machine Learning Repository Auto MPG dataset, allowing users to compare any two numerical attributes by selecting columns from dropdown menus. The visualization updates both axes and animates the red semi-transparent circles into position over two seconds using D3 v5 transitions. The code implements custom dropdown menu and scatter plot modules, leveraging D3’s scaleLinear, axisBottom, axisLeft, extent, and CSV file loading. The SVG rendering includes rotated axis labels and gridlines, with menus positioned above the chart for attribute selection.
AI-generated descriptionThis scatter plot shows data about cars, from the [UCI Machine Learning Repository: Auto MPG Data Set] (http://mlr.cs.umass.edu/ml/datasets/Auto+MPG).