Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot- ICE7

✓ Published0🌍 Public
RRupeshGandham
Last edited Jul 4, 2022
Created on Jul 4, 2022

This animated scatter plot cycles through different combinations of Iris flower measurements, displaying sepal and petal dimensions on the x- and y-axes. The visualization uses D3 v6 to render circles colored by species (setosa, versicolor, virginica) with a custom legend, while a `setInterval` triggers updates to the axis scales and labels. Data comes from a CSV of the classic Iris dataset loaded via `d3.csv`. The code leverages reusable chart patterns from `scatterPlot.js` with `scaleLinear`, `axisLeft`, and `axisBottom` APIs, alongside a fixed y-axis label for sepal length.

AI-generated description
MIT Licensed

Similar vizzes