Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
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.
MIT Licensed