Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatter plot

Public visualization

Viewing a saved revision (read-only)

5bdb7dcc5cf148d58adda1667b9944f8

scatter plot

0 stars0🌍 Public
Aadithiarikatla@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025

This interactive scatter plot animates through the columns of the Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds while keeping y-axis fixed at sepal length. The visualization uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and draw axes, with SVG circles positioned dynamically. The code applies a reusable `scatterPlot` module that recalculates data mappings on each interval, rendering a full-screen SVG that updates in place.

AI-generated description