Animated Reusable D3 Scatterplot
✓ Published1🌍 Public
This example presents an animated scatterplot of Fisher’s Iris dataset, cycling through four measured attributes on the x-axis while sepal length remains fixed on the y-axis. Built with React and D3 v6, it uses reusable chart components via the `scatterPlot` factory function, SVG rendering, and `d3.transition` with staggered delays for smooth point movement. The code updates the x-scale and axes every five seconds using `setInterval`, demonstrating dynamic data binding and enter-update-exit patterns with animated, reordering circles.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed