Skip to main content
100%

Animated Scatter Plot with Menus

✓ Published0🌍 Public
Rraturi22@gmail.com
Last edited Aug 28, 2025
Created on Aug 28, 2025

This animated scatter plot displays the Iris flower dataset, using D3 v6 to render each specimen as a sized circle within an SVG. Two dropdown menus allow users to select which quantitative or categorical attribute maps to the X and Y axes. As selections change, the chart transitions smoothly through a `transition` API, repositioning circles with a staggered delay and updating the axes via D3's `axisLeft` and `axisBottom` scales. The visualization demonstrates a reusable chart pattern with the D3 module pattern, combining `scaleLinear`, `extent`, and a custom event dispatcher for menu interactions.

AI-generated description
MIT Licensed

Similar vizzes