🌍 Public
Viewing a saved revision (read-only)
55251c85ed9449eb9aba5b54767f07f7
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