Fork of Animated Scatter Plot with Menus
This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements through dropdown menus. The visualization uses D3 v6 with SVG rendering and transitions to animate circles as they reposition when axes change. Built with a reusable scatterPlot component using d3.scaleLinear, d3.extent, and axis generators, the code implements selection.join for smooth enter-update-exit patterns. Menus are created via a custom menu function that dispatches change events, triggering animated updates to the x and y axes.