Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed