🌍 Public
Viewing a saved revision (read-only)
bee6a5518b13472b8c9f6ef4ca657bc3
Reusable Scatter Plot
This reusable scatter plot displays the Iris dataset, mapping petal and sepal measurements against each other while coloring each point by species. Constructed with D3 6.7.0's `scaleLinear`, `axisLeft`, and `axisBottom` APIs, the visualization animates by cycling the x-axis through different measurement columns every two seconds using `setInterval`. Circles are rendered as SVG elements with per-species colors (green, indigo, red), and the plot is fully parameterized via a custom `scatterPlot` function for flexible reuse.
AI-generated descriptionImplementation of a Reusable D3 scatter plot. Shows the Iris Dataset.