Skip to main content
100%

Animated reusable D3 scatter plot

✓ Published0🌍 Public
Bbjfmbeck
Last edited Mar 15, 2023
Created on Mar 15, 2023

This interactive scatter plot visualizes the classic Iris dataset, showing how different flower measurements relate to each other. The visualization cycles through four different x-axis dimensions—petal width, sepal width, petal length, and sepal length—every five seconds. It uses a reusable D3 component pattern with the `scatterPlot` function, leveraging D3's `scaleLinear` for axes, `transition` for animated updates, and the `.join()` operation for efficient circle insertion, updating, and removal. The data loads asynchronously via `d3.csv`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes