Skip to main content
100%

D3Animated Scatter Plot with Menus

✓ Published0🌍 Public
KKamalabot
Last edited Jul 11, 2022
Created on Jul 11, 2022

This animated scatter plot of the Iris dataset lets users choose which measurement to display on each axis via dropdown menus. D3’s `selection.join` and `transition` smoothly reposition circles and axes over one second, with new points growing from radius zero. The menu component uses D3’s `dispatch` for change events, while `scaleLinear`, `axisLeft`, and `axisBottom` handle the scales and ticks.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes