Skip to main content
100%

Fork of Reusable_D3_Scatter_Plot.

✓ Published0🌍 Public
SSUSHMA CHIRRA
Last edited Mar 28, 2023
Created on Mar 28, 2023

This interactive scatter plot visualizes the Iris dataset, with each point colored by species (setosa, versicolor, or virginica). The visualization cycles through four different x-axis attributes—petal width, sepal width, petal length, and sepal length—at regular intervals, updating the chart dynamically using `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. A legend and axis labels are rendered as SVG text elements. The animation is driven by `setInterval`, which re-calls the reusable `scatterPlot` function built on D3 v6.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes