Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
A scatter plot visualizes the Iris Dataset, with points representing flowers and axes mapping petal width against sepal length. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, and `axisBottom` to render axes and SVG circles for data marks. The x-axis mapping cycles through four dataset columns every two seconds via `setInterval`, animating the plot's perspective. The chart is implemented as a reusable function following the "Towards Reusable Charts" pattern, with animated updates triggered by re-calling the plot on the same SVG selection.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed