ICE - 7 Reusable Scatter Plot
✓ Published0🌍 Public
This visualization cycles through the Iris dataset, automatically animating between scatter plots that map each of the four flower measurements to the x-axis while keeping sepal length on the y-axis. The code uses a reusable D3 scatterPlot function with scaleLinear, axisLeft, and axisBottom to render axes, while each data point is drawn as a circle colored by species. A setInterval updates the x-value mapping every 1.9 seconds, with the axis labels updating accordingly. The visualization uses D3’s csv loader and SVG rendering to display the data.
AI-generated descriptionMIT Licensed