Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatterplot

Public visualization

Viewing a saved revision (read-only)

bafe0ee5fecf4006bbb828f549934d17

Reusable D3 Scatterplot

0 stars2🌍 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.