Fork of Before refactoring Animating Scatter Plot
✓ Published0🌍 Public
GGayan Priyadarshana
Last edited Aug 25, 2023
Created on Aug 25, 2023
Forked from Before refactoring Animating Scatter Plot
This interactive scatter plot visualizes the Iris flower dataset, letting users explore relationships between petal and sepal measurements. The D3.js visualization renders 150 circles as SVG elements, with smooth 1000ms transitions animating position changes when axes are switched. Dynamic dropdown menus allow selection of different variables for the X and Y axes, while axes and labels update accordingly. The code uses d3.scaleLinear for scales, d3.axisLeft and d3.axisBottom for axes, and D3’s data join pattern with enter, update, and exit selections to manage circle animations.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed