Fork of Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example visualizes the Iris dataset as an animated scatter plot, cycling through four measurements on the x-axis while keeping sepal length on the y-axis. The plot updates every two seconds, re-scaling the axis and repositioning the circles. It uses D3 v6’s `csv` for data loading, `scaleLinear` for axes, and a reusable `scatterPlot` module with a fluent interface. SVG rendering drives the animation, with axis and circle elements dynamically joined and updated.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed