Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Menus Including Species

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed