Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Bbhanuteja1807@gmail.com
Last edited Mar 24, 2023
Created on Mar 24, 2023

This example presents the classic Iris dataset as an animated scatter plot that cycles through different feature combinations every two seconds. It demonstrates a reusable charting pattern where the plot’s axes, scales, and circles are recomputed on each update using D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs. The visualization leverages D3’s `select` and `join` operations to update SVG circles and axis groups in place, producing a smooth transition between four variable pairings.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes