Skip to main content
100%

Reusable D3 Scatter Plot b4Ref

✓ Published0🌍 Public
KKamalabot
Last edited Jul 11, 2022
Created on Jul 11, 2022

This interactive scatter plot cycles through the Iris dataset's four numeric columns every two seconds, using the selected column for the x-axis while the y-axis remains fixed. Built as a reusable D3 module, the chart employs `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles and axes, with the animation driven by `setInterval`. The Iris flower measurements are loaded via D3's `csv` from a GitHub Gist, and the full viewport is filled by the plot.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes