🌍 Public
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.
MIT Licensed
Comments
Sign in to join the discussion.