Skip to main content
100%

Fork of Animated Scatter Plot with Menus

✓ Published3🌍 Public
KKaustav Sen
Last edited Jun 12, 2021
Created on Jun 1, 2021

This example visualizes the Iris dataset as an animated scatter plot with interactive dropdown menus for selecting the X and Y dimensions. The code uses d3.csv to load data, d3.scaleLinear and d3.scalePoint for scaling, and d3.axisBottom and d3.axisLeft for axes. Circles animate transitions when dimensions change, with d3.transition and selection.join handling enter, update, and exit states. Hovering triggers tooltips and enlarges points via d3.select and transition.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes