Reusable D3 Scatter Plot ICE 7
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, with each point colored by species (setosa, versicolor, virginica). A timer cycles the x-axis through four flower measurements every four seconds, updating the layout smoothly. Built with D3 v6, the chart uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data to SVG circles. The reusable `scatterPlot` function accepts configurable accessors and margin settings, demonstrating a modular pattern for animated, dimension-switching visualizations.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed