Skip to main content
100%

Species Stratified Animated Scatter Plot with Menus

✓ Published1🌍 Public
DDasbach.EJ
Last edited Jun 4, 2021
Created on Jun 3, 2021

An interactive scatter plot visualizes the Iris dataset, with menus to switch the X and Y axes among sepal and petal measurements and to filter points by species. The d3.v6 code uses a reusable `scatterPlot` module with `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `transition` to animate circle positions and axis updates. Species stratification is implemented by filtering data against the selected z-value, with a 1000-millisecond transition delaying updates for a polished effect.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes