Skip to main content
100%

Fork of Reusable_D3_Scatter_Plot.

✓ Published2🌍 Public
Aav.dj.2000@gmail.com
Last edited Mar 30, 2023
Created on Mar 30, 2023

This interactive scatter plot animates through the Iris dataset, cycling through four possible feature pairings for the x-axis while keeping petal width on the y-axis. The visualization uses D3.js v6 within a React context to render SVG circles colored by species, with a static legend and axis labels. The code employs `scaleLinear` for mapping data to coordinates, `axisLeft` and `axisBottom` for axes, and `setInterval` to trigger sequential updates via the reusable `scatterPlot` module, which re-computes scales and redraws marks on each step.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes