Skip to main content
100%

Fork of Iris Scatterplot 04 - Animations

✓ Published0🌍 Public
Jjimmy.fisher@member.mensa.org
Last edited Nov 28, 2024
Created on Nov 28, 2024

This is a D3.js scatter plot of the Iris dataset that animates between different views. Every two seconds, it changes which of the four flower measurements (sepal length, sepal width, petal length, petal width) is mapped to the x-axis, while the y-axis remains fixed on sepal length. The points, colored by species, transition smoothly via the `transition().duration(2000)` method on the `join` operation. The visualization uses a reusable `scatterPlot` module with `scaleLinear` for axes and `scaleOrdinal` for symbol types, and loads data from a CSV file using `d3.csv`.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes