Dynamic D3 Scatter plot
✓ Published1🌍 Public
This dynamic scatter plot visualizes the Iris dataset, cycling through four different measurements on the x-axis every two seconds while keeping sepal length on the y-axis. Built with React and D3 v7, it uses SVG rendering with scaleLinear for axes, extent for domains, and selection joins to update circles smoothly. The example demonstrates reusable chart components through a scatterPlot factory function, updating axis and circle positions as the x-value accessor changes via setInterval.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed