🌍 Public
Viewing a saved revision (read-only)
c8d47fcf9c2c4d65a17ecfdbd17fa582
Fork of Reusable D3 Scatter Plot
This fork of a reusable D3.js scatter plot animates through different iris flower measurements, cycling the x-axis every two seconds. It displays the classic Iris dataset, plotting petal width against sepal length initially. The implementation uses a custom `scatterPlot` function leveraging D3 v6 modules like `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. The SVG visualization updates smoothly with a `setInterval`, re-binding data attributes to reflect new columns, while all points are rendered as circles with a constant radius.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.