Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Animated Scatter Plot with Menus

Public visualization

Fork of Animated Scatter Plot with Menus

0 stars0🌍 Public
Yyisha huang
Last edited Jul 3, 2024
Created on Jul 3, 2024

This example shows the classic Iris Dataset as an animated scatter plot. Through dropdown menus, users can select which attributes (petal or sepal width/length, or species) to plot on the x and y axes. The menu module uses `d3.dispatch` to broadcast change events. The `scatterPlot` module leverages D3 6.7.0 features such as `scaleLinear`, `axisLeft`, `axisBottom`, and `transition` to animate point positions and axis ticks over one second.

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