Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example visualizes the Iris Dataset in a scatter plot where users see the relationship between two measurements. The plot cycles through different x-axis variables every two seconds, animating between petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Built with D3 v6, it uses `scaleLinear` for axes, `axisLeft` and `axisBottom` for ticks, and a reusable chart pattern where `scatterPlot` is configured with method chaining. SVG circles render the data points, animated via `setInterval`.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed