Reusable D3 Scatter Plot- ICE7
This example shows an animated scatter plot of the Iris dataset, cycling through four different measurements (petal width, sepal width, petal length, and sepal length) on the x-axis while keeping sepal length on the y-axis. Data points are colored by species (setosa, versicolor, virginica) and change position via a `setInterval` that updates the chart’s x-scale. The visualization uses D3 v6 with SVG rendering, including axes, a static legend, and custom title labels. It demonstrates a reusable `scatterPlot` module built with D3’s `scaleLinear`, `extent`, and axis functions, with data loaded from a CSV file.