Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
SSaiSree0122
Last edited Jul 1, 2022
Created on Jul 1, 2022

This fork of a reusable D3 scatter plot animates the Iris Dataset, cycling through four flower measurements (petal width, sepal width, petal length, sepal length) on the x-axis every two seconds while keeping sepal length on the y-axis. Built with D3 6.7.0, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and circles as SVG, with the data fetched as CSV from a GitHub gist. The animation runs via `setInterval`, redrawing the plot with a new x-value mapping.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed