Fork of Reusable D3 Scatter Plot.
✓ Published0🌍 Public
This interactive scatter plot displays the Iris dataset, using colored circles to represent three species. The visualization iterates through four flower measurements, changing the x-axis variable every few seconds while keeping petal width on the y-axis. Built with D3 v6, the example uses `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes, while a `setInterval` callback updates the data bindings. The reusable `scatterPlot` module manages the chart’s dimensions, margins, and scales, and the SVG circles are colored green, brown, and magenta based on species.
AI-generated descriptionMIT Licensed