Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

animated transition of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

fb2a189cbd254980b991c3ca4b44d31f

animated transition of Reusable D3 Scatter Plot

0 stars0🌍 Public
KKerim
Last edited Nov 14, 2022
Created on Nov 14, 2022

This example demonstrates an animated scatter plot of the Iris dataset, with sepal length and petal width mapped to the x and y axes. The visualization uses D3 version 6.7.0 and follows the reusable chart pattern, constructing a scatter plot via the `scatterPlot` function. SVG circles represent data points, positioned using `scaleLinear` with domains from `extent`, while `axisLeft` and `axisBottom` generate the axes. Although the code includes commented-out logic for cycling through columns, the active script renders a single static view of the data with no animation.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.