ICE - 7 Reusable Scatter Plot Maanas Katta
This visualization displays the Iris dataset as a scatter plot, cycling through different variable pairings every two seconds to compare petal and sepal measurements. Circles are colored by species—setosa in blue, versicolor in red, and virginica in yellow—with white outlines for contrast. Using D3 v6, the reusable scatterPlot function employs scaleLinear, extent, axisLeft, and axisBottom to dynamically update axes, while setInterval triggers re-renders with new x-value mappings. The SVG animation renders data from a gist CSV, with a dark background and Share Tech font for the axis labels.