🌍 Public
Viewing a saved revision (read-only)
c4a4ae2dc9dc4045b56f8d4d947b6b41
Dynamic D3 Scatter plot
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.