Skip to main content
100%

test Scatter Plot with Menus

✓ Published0🌍 Public
Aadventuresenglish.info@gmail.com
Last edited Dec 9, 2023
Created on Dec 9, 2023

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 description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes