Skip to main content
100%

Fork of ice - 7

✓ Published0🌍 Public
MMar-99
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ice - 7

A scatter plot animation displays the Iris dataset, with points colored by species (setosa, versicolor, virginica) in orange, green, and brown. The plot cycles through different x-axis attributes every two seconds using a `setInterval` callback, alternating between petal width, sepal width, petal length, and sepal length, while the y-axis remains fixed to sepal length. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and circles dynamically. The SVG fills the browser window, styled with the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes