Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Activity 6

0 stars0🌍 Public
Aamireddy.sw@gmail.com
Last edited Apr 18, 2024
Created on Apr 18, 2024
Forked from Circles with D3

This animated scatter plot cycles through four Iris flower measurements—petal width, sepal width, petal length, and sepal length—on the x-axis, with sepal length on the y-axis. D3 v6 loads the Iris dataset via `d3.csv`, scales axes with `scaleLinear`, and renders axis ticks using `axisLeft` and `axisBottom`. A `setInterval` updates the x-value accessor, triggering a re-render of the SVG via the custom `scatterPlot` function. Circles are colored by species (setosa, versicolor, virginica) and accompanied by a legend and axis labels.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed