Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Menus Including Species

Public visualization

Viewing a saved revision (read-only)

1cc3786c2e534b03ba2f0e12c3c1b5f0

Fork of Scatter Plot with Menus Including Species

0 stars0🌍 Public
PPeter VanNostrand
Last edited Oct 6, 2021
Created on Oct 6, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between quantitative measurements and categorical species through dropdown menus that change the x- and y-axis variables. It distinguishes between quantitative and categorical scales using d3.scaleLinear and d3.scalePoint, rendering circles as SVG elements with animated transitions via d3.transition and the selection.join pattern. Menus are built with a custom reusable d3 menu component using d3.dispatch for change events, with axes updated through d3.axisLeft and d3.axisBottom.

AI-generated description

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

Shows the Iris Dataset.