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)

d80a1bbdb2284ad0a60a726cd05ca7f1

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Sshailajat1998@gmail.com
Last edited Mar 26, 2024
Created on Mar 26, 2024

This interactive scatter plot visualizes the Iris dataset, cycling through four measured attributes (petal width, sepal width, petal length, and sepal length) on the x-axis every two seconds while keeping sepal length on the y-axis. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes, and updates circle positions via a reusable `scatterPlot` function with a `setInterval` loop. The animation transitions the x-value accessor to reveal different feature relationships, with all rendering done in SVG within a full-screen viewport.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.