Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable_D3_Scatter_Plot

Public visualization

Viewing a saved revision (read-only)

408dc82ef45b41bb847119f4d91d1d1e

Reusable_D3_Scatter_Plot

0 stars1🌍 Public
SShivaKarpe
Last edited Mar 27, 2022
Created on Mar 27, 2022

This animated scatter plot explores the Iris dataset, cycling through different feature combinations on the x-axis every two seconds while the y-axis remains fixed on sepal length. It uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` to build reusable axes, while circles are colored by species (setosa, versicolor, virginica). The chart is rendered as an SVG with a `setInterval` loop that updates the x-value accessor, demonstrating a reusable chart pattern inspired by Mike Bostock's “Towards Reusable Charts.”

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.