Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
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.
MIT Licensed