Skip to main content
100%

Fork of Reusable_D3_Scatter_Plot.

✓ Published0🌍 Public
VVineela Reddy
Last edited Mar 28, 2023
Created on Mar 28, 2023

This interactive scatter plot animates through the four numeric measurements of the classic Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length. Each point is colored by species (setosa, versicolor, virginica) using a custom color mapping. Built with React and D3.js v6, it uses `d3.csv` for data loading, `scaleLinear` for axes, and `setInterval` to drive the animation, rendering via SVG with a fixed y-axis of sepal length. The visualization includes a custom legend and labeled axes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes