Skip to main content
100%

Fork of Animated Scatter Plot with Menus

✓ Published0🌍 Public
DDmytro Holysh
Last edited Jun 23, 2023
Created on Jun 21, 2023

This interactive scatter plot visualizes the Iris dataset, letting users explore relationships between sepal and petal measurements across species. Two dropdown menus, built with a custom d3 dispatch-based menu component, control which attributes appear on the x and y axes. The visualization uses d3-scaleLinear to map data to screen coordinates and d3-transition to animate circle positions and axes smoothly when selections change. Points grow from zero radius on entry and update with staggered delays, while axes reposition to match the selected dimensions. SVG rendering and d3 selection.join manage the dynamic updates.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes