Skip to main content
100%

Tut

✓ Published0🌍 Public
Rreddyswethuvahana@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

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 description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes