Tut
✓ Published0🌍 Public
This animated scatter plot cycles through the Iris dataset, displaying different sepal and petal measurements on the x-axis while petal width and sepal length appear on the y-axis. It uses D3’s scaleLinear, axisLeft, and axisBottom to generate axes and a custom scatterPlot function to render circles. The SVG visualization updates every few seconds via setInterval, re-drawing the chart with new data columns. Points are colored by species—setosa in skyblue, versicolor in lightgreen, and virginica in orange—with a legend and title added dynamically. Data comes from a remote CSV file.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed