Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

draft

Public visualization

Viewing a saved revision (read-only)

bbc0bb31374745f599dcac78590b1a1f

draft

0 stars0🌍 Public
Hharipriyaa07
Last edited Jul 20, 2023
Created on Jul 20, 2023

A scatter plot animates through the Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds while keeping sepal length on the y-axis. Built with D3 v6, the reusable `scatterPlot` function uses `scaleLinear`, `axisLeft`, and `axisBottom` to render axes and circles via SVG, with data loaded through `csv`. The animation updates the plot’s x-value accessor and re-invokes the chart, producing a dynamic exploration of iris flower measurements.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.