Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

3cb575bad68e4a8199b0e73d90bec26f

Reusable D3 Scatter Plot

0 stars0🌍 Public
Rreddyakshitha
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from HTML Starter

This dynamic scatter plot animates through the Iris dataset, cycling four flower measurements along the x-axis while displaying petal width on the y-axis. Using a reusable D3 module pattern, the visualization updates every second via `setInterval`, with `scaleLinear` and `extent` computing axes, `scaleOrdinal` assigning species colors, and SVG circles redrawn through join operations. Data loads from a GitHub Gist, with axes rendered via `axisLeft` and `axisBottom`. A custom legend indicates species through colored rectangles.

AI-generated description

Reusable Scatter Plot using D3 for IRIS data