🌍 Public
Viewing a saved revision (read-only)
318a4274206b4975be5ac768e1372c2f
Activity-9_Task-1
This animated scatter plot cycles through four Iris flower measurements, showing how petal width, sepal width, petal length, and sepal length correlate on the x-axis against petal width on the y-axis. The visualization uses D3 v6 to load CSV data from a GitHub gist and render circles colored by species (setosa, versicolor, virginica). A setInterval callback updates the x-value mapping and re-renders the axes and circles, while custom legends, labels, and a title are drawn with SVG elements. The reusable scatterPlot module uses scaleLinear, axisLeft, and axisBottom to construct the chart.
AI-generated descriptionA demonstration of reusable scatter plot.