Skip to main content
100%

Iris Scatterplot 04 - Animations

✓ Published1🌍 Public
Gg1g10
Last edited Aug 16, 2022
Created on Aug 16, 2022

This example visualizes the Iris dataset as an animated scatter plot, cycling through the four measured attributes (sepal length, sepal width, petal length, petal width) on the x-axis every two seconds, with sepal length fixed on the y-axis. Species are encoded using distinct symbols from `d3.symbolsFill`. Built with D3 v7, it uses `scaleLinear`, `scaleOrdinal`, `axisBottom`, and `axisLeft`. Marks and axes update smoothly via `transition().duration(2000)`, creating a looping comparison of feature relationships while the SVG fills the viewport.

AI-generated description

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

MIT Licensed

Similar vizzes