Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Animated Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

c6d5cfddd3a2427599a77f613fa43074

Fork of Animated Scatter Plot with Menus

0 stars0🌍 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.