Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

a4e5e037471c41e59d648a15b973d48e

Fork of Reusable D3 Scatter Plot

0 stars2🌍 Public
Vvenigallajaanu@gmail.com
Last edited Mar 28, 2025
Created on Mar 28, 2025

This animated scatter plot cycles through four attributes of Fisher’s iris dataset—petal width, sepal width, petal length, and sepal length—on the x-axis against sepal length on the y-axis. Built with D3 v6 and a reusable `scatterPlot` module, it renders SVG circles scaled by `d3.scaleLinear` with `d3.axisLeft` and `d3.axisBottom`. Every two seconds, `setInterval` updates the x-value accessor and re-calls the plot, smoothly shifting the point positions and axes.

AI-generated description