🌍 Public
Viewing a saved revision (read-only)
020af96dce3849a7be3e86861d9a6f41
Reusable D3 Scatter Plot
This reusable D3 scatter plot visualizes the Iris dataset, animating through different variable pairings on the x-axis every seven seconds. Using the `csv` loader with inline row parsing, it maps petal width, sepal width, petal length, and sepal length against sepal length, with circles colored by species via a custom switch. The chart is built with a configurable `scatterPlot` function leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs, rendering SVG and updating through `setInterval`.
AI-generated descriptionReusable Scater Plot