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)

8d31af4fd7174a6fa5409525625e6cc2

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
YYash Raj Mathur
Last edited Mar 30, 2026
Created on Mar 30, 2026

This example displays the classic Iris flower dataset as an animated scatter plot, cycling through four different feature combinations on the x-axis every two seconds. The visualization uses D3 v6 with a reusable `scatterPlot` function and SVG rendering, leveraging `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to map data to positions and draw axes. Circles are updated via data joins, with each column of the Iris dataset swapped in sequence to explore relationships between sepal and petal measurements.

AI-generated description