Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot- ICE7

✓ Published0🌍 Public
RRupeshGandham
Last edited Jun 30, 2022
Created on Jun 30, 2022

This visualization presents the classic Iris dataset as an animated scatter plot, cycling through different pairings of sepal and petal measurements on the x-axis while keeping petal width on the y-axis. Each species—setosa, versicolor, and virginica—is color-coded in red, cyan, and grey respectively, with data points rendered as SVG circles and a legend showing the color mapping. The animation updates the x-axis scale and labels via `setInterval`, and the plot is built using D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. The data is loaded from a CSV URL, and the plot re-renders its axes and circles on each interval tick.

AI-generated description
MIT Licensed

Similar vizzes