Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published1🌍 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.

MIT Licensed

Similar vizzes