🌍 Public
Viewing a saved revision (read-only)
9e234bf6494840eb8fca50bdbbcd787b
Fork of scatter plot with menus
This visualization displays a scatter plot of automotive data from the auto-mpg dataset, with interactive dropdown menus that let users select which columns to plot on the x and y axes. The SVG renders circles positioned via d3.scaleLinear and transitions them into place using transition.attr. The dropdownMenu component uses d3 selection and event handling to trigger re-renders, while the scatterPlot module manages axes with d3.axisLeft and d3.axisBottom, updating labels and scales dynamically based on user selections.
AI-generated description