🌍 Public
Viewing a saved revision (read-only)
47432f70eebc4eabbc15ab0ccf0fb41e
Fork of Reusable D3 Scatter Plot
This example presents an animated scatter plot of the Iris dataset, cycling through four flower measurements (petal width, sepal width, petal length, and sepal length) on the x-axis every two seconds while sepal length remains on the y-axis. Built as a reusable chart function, it uses D3 v6 APIs including `csv` for data loading, `scaleLinear` for scales, `axisLeft` and `axisBottom` for axes, and `selectAll` with data joins to update circle positions. The SVG visualization also applies a custom font and full-window sizing.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.