Skip to main content
100%

Reusable_D3_Scatter_Plot.

✓ Published0🌍 Public
RRohith Reddy
Last edited Mar 30, 2023
Created on Mar 30, 2023

This interactive scatter plot explores the Iris dataset, cycling through different feature combinations on the x-axis—petal width, sepal width, petal length, and sepal length—against sepal length on the y-axis. Each species (setosa, versicolor, virginica) is color-coded with blue, red, and green points, while a legend identifies the colors. Built with React and D3 v6, it uses `scatterPlot()`, `scaleLinear`, `axisLeft`, and `axisBottom` to render axes and animated transitions via `setInterval`, displaying the data as SVG circles.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes