Skip to main content
100%

Reusable_D3_Scatter_Plot.

✓ Published47🌍 Public
Ssaishashank
Last edited Mar 22, 2023
Created on Mar 22, 2023

This interactive scatter plot animates through different axis pairings from the Iris dataset, cycling between petal width, sepal width, petal length, and sepal length on the x-axis while keeping sepal length on the y-axis. Using React and D3 v6, it leverages `scaleLinear`, `axisLeft`, `axisBottom`, and `csv` to load and render data as colored SVG circles grouped by species. A `setInterval` triggers transitions in the reusable `scatterPlot()` function, updating axes and labels dynamically.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes