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 stars1🌍 Public
AArefa Patwary
Last edited Mar 23, 2022
Created on Mar 23, 2022

Animated scatter plot of the Iris dataset built with D3.js, cycling through different attribute pairs (petal width, sepal width, petal length, sepal length) every two seconds. The visualization uses SVG rendering with `scaleLinear`, `axisLeft`, and `axisBottom` to map data to coordinates and axes. A reusable `scatterPlot` function encapsulates the chart, driven by `setInterval` to update the X-axis mapping. Data loads from a CSV via `d3.csv`, with numeric parsing for all four measurements.

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