Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

712642483f824fb1853a20e5e4186e3f

Fork of Reusable D3 Scatter Plot

0 stars0🌍 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.