pree
✓ Published0🌍 Public
This visualization presents the Iris flower dataset as a reusable scatter plot with animated transitions between different attribute pairs. The animation cycles through four combinations of sepal and petal measurements every two seconds, with each point colored by species. Built using D3.js v6, the example implements a custom `scatterPlot` function that wraps `scaleLinear`, `axisLeft`, `axisBottom`, and `scaleOrdinal` APIs. SVG circles render the data, while a legend shows species assignments. The code loads data from a GitHub Gist and uses `setInterval` to coordinate the view changes.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed