Skip to main content
100%

Fork of Ep. 10 Idempotent Scatter Plot (Animated)

✓ Published1🌍 Public
Ddanheavern
Last edited May 8, 2022
Created on May 8, 2022

This animated scatter plot cycles through four Iris flower measurements (sepal and petal length/width) as the x-axis variable while keeping sepal length on the y-axis, updating every five seconds. It uses D3's scaleLinear, scaleOrdinal, axisLeft, axisBottom, and transition APIs to smoothly interpolate circle positions and axis scales over one-second durations. The visualization loads the classic Iris dataset from a GitHub gist via d3.csv, renders 150 colored circles (one per species) in SVG, and uses a CSS hover rule to enlarge points on mouseover.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes