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)

feef7852e6e8464a9cb001f379e4448f

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Ttejaswikalluri05
Last edited Mar 27, 2022
Created on Mar 27, 2022

This example presents an animated scatter plot of the Iris Dataset, cycling through different floral measurements every two seconds. The visualization uses D3 v6 to render SVG circles, with a reusable chart module (`scatterPlot`) that updates scales and axes dynamically. Data is loaded via `d3.csv` from a GitHub Gist, and species are color-coded using `d3.scaleOrdinal`. Explicit `setInterval` calls re-invoke the chart with new x-value columns, while axes are redrawn with `d3.axisLeft` and `d3.axisBottom`.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.