🌍 Public
Viewing a saved revision (read-only)
5f1c5886aa9940ce81c4b5bee3006702
test Scatter Plot with Menus
This scatter plot displays the Iris dataset, encoded as circles positioned by selected measurements from drop-down menus for the x and y axes. D3’s `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` map values to SVG coordinates, while `transition` animates circle positions and axes when a menu selection changes. The reusable chart pattern uses `selection.join` to handle enter, update, and exit states for the SVG circles.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.