Skip to main content
100%

Episode 11 - Animated Scatterplot with Menus (GIRIBAW)

✓ Published1🌍 Public
Eemberix@gmail.com
Last edited Jun 9, 2021
Created on Jun 9, 2021

This interactive scatterplot visualizes the Iris dataset, with dropdown menus letting viewers choose which sepal or petal measurements appear on the x- and y-axes. Built with D3.js v6, it uses `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` for scaling and axes, while `transition()` animates circle positions and axes over 800ms when selections change. The menu component leverages D3's `dispatch` for change events, and data is loaded via `d3.csv` from a GitHub Gist, rendered as SVG with entering circles growing from radius 0.

AI-generated description
MIT Licensed

Similar vizzes