Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Mmanishcheruku
Last edited Mar 25, 2023
Created on Mar 25, 2023

This example shows a scatter plot of the Iris dataset, with points representing individual flowers and axes scaling to the selected attributes. The plot cycles every two seconds through four numeric columns—petal width, sepal width, petal length, and sepal length—updating the x-axis and circle positions accordingly. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and a reusable chart pattern via `scatterPlot()`. The visualization renders as SVG with animated transitions between attribute combinations.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes