Fork of Reusable D3 Scatter Plot
✓ Published9🌍 Public
This interactive scatter plot visualizes the Iris dataset, mapping petal width and length while coloring data points by species (setosa, versicolor, virginica) using a custom marker function. The visualization cycles through four variable pairings every two seconds via `setInterval`, updating axes and circle positions. Built with D3 v6, it employs `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `selectAll` to render SVG circles dynamically. Overlaid text labels identify the current axes, while the reusable `scatterPlot` module handles margins, scales, and axis generation for each update.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed