Skip to main content
100%

Task 9&10

✓ Published0🌍 Public
Nnsairitwikreddy@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

This animated scatter plot visualizes the Iris dataset, showing flower measurements across four variable combinations. It cycles through petal width, sepal width, petal length, and sepal length on the x-axis while keeping petal width on the y-axis. The code uses D3.js with a reusable `scatterPlot` module built on `scaleLinear`, `axisLeft`, `axisBottom`, and `extent`, updating via `setInterval`. Species are color-coded with a legend, and circles are rendered as SVG elements with animated axis transitions.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes