Skip to main content
100%

7

✓ Published0🌍 Public
Ppeesarie
Last edited Jul 1, 2022
Created on Jul 1, 2022

This animated scatter plot cycles through different axis pairings of the classic Iris Dataset, updating every two seconds. The visualization is built as a reusable chart with D3’s `scaleLinear`, `axisLeft`, and `axisBottom`, using `selectAll` and `.join` to bind data to SVG circles. A `setInterval` swaps which four flower measurements—petal width, sepal width, petal length, and sepal length—map to the x-axis, while the y-axis remains fixed on sepal length. The SVG rendering fills the browser window with styled text from the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes