Skip to main content
100%

Fork of Reusable_D3_Scatter_Plot.

✓ Published1🌍 Public
Aajaysonu
Last edited Mar 29, 2023
Created on Mar 29, 2023

This interactive scatter plot animates through different x-axis variables from the Iris dataset, cycling between petal width, sepal width, petal length, and sepal length every few seconds using `setInterval`. Built with React and D3 v6, it uses `scaleLinear`, `axisLeft`, and `axisBottom` to render SVG circles colored by species (setosa, versicolor, virginica) with a custom legend. The data is loaded via `d3.csv` from a GitHub gist, and the reusable `scatterPlot` function manages the axes and marks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes