Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example presents a reusable scatter plot visualizing the Iris Dataset, which cycles through different flower measurements as axes every two seconds. The plot uses D3 v6’s `scaleLinear`, `axisLeft`, `axisBottom`, and `selectAll` with a data join for animated SVG circles. The code defines a custom `scatterPlot` function with configurable accessors for x and y values, margins, and radius, driven by `setInterval` to update the plot’s dimensions.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed