Skip to main content
100%

Reusable D3 Scatter Plot

✓ Published1🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 28, 2022

This interactive scatter plot visualizes the Iris dataset, cycling through four different x-axis attributes (petal width, sepal width, petal length, sepal length) on an interval timer while the y-axis remains fixed on sepal length. The plot uses D3 v6's `scaleLinear`, `axisLeft`, and `axisBottom` APIs to render axes and SVG circles for data points, colored by species (setosa, versicolor, virginica). A legend and title are drawn directly into the SVG, with data loaded from a remote CSV via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes