Skip to main content
100%

Fork of Animated Scatter Plot with Menus

✓ Published0🌍 Public
Jjimmy.fisher@member.mensa.org
Last edited Nov 28, 2024
Created on Nov 28, 2024

This example visualizes the Iris Dataset as an animated scatter plot. Users can change the x- and y-axis variables through dropdown menus, which trigger smooth transitions of the data points and axes. The code uses D3 v6 with reusable chart and menu components, leveraging `selection.join` for enter/update/exit handling and `transition` for animations. The scatter plot displays points with growing radii on entry, and axes update with the selected dimensions.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes