Skip to main content
100%

Reusable D3 Scatterplot

✓ Published2🌍 Public
Aadityapalliyil0@gmail.com
Last edited Oct 2, 2024
Created on Oct 1, 2024
Forked from D3 Scatterplot

This scatterplot visualizes the Iris dataset, cycling through four flower measurements (petal width, sepal width, petal length, sepal length) on the x-axis every two seconds via `setInterval`. Built with D3 v7 in a React application, it renders animated SVG circles and axes using `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. The reusable `scatterPlot` function accepts configurable accessors for data, dimensions, margins, and radius, allowing dynamic updates through `svg.call(plot)`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes