Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Ssd2beatles
Last edited Jul 6, 2021
Created on Jul 6, 2021
Forked from Hello VizHub

This interactive scatter plot animates through the four dimensions of the classic Iris Dataset, cycling the x-axis among petal width, sepal width, petal length, and sepal length every two seconds while keeping sepal length on the y-axis. The visualization uses D3 6.7.0 with a custom reusable `scatterPlot` module that leverages `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles and axes. A `setInterval` loop updates the x-value binding, redrawing the plot idempotently through the SVG `join` operation, while the Share Tech font styles the text.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes