Skip to main content
100%

Untitled

✓ Published0🌍 Public
MManideeprenikindi
Last edited Jul 11, 2023
Created on Jul 11, 2023
Forked from Hello VizHub

This example presents an animated scatterplot of the Iris dataset, cycling through different flower measurements on the x-axis while maintaining sepal length on the y-axis. Points are colored by species (setosa, versicolor, virginica) with a corresponding legend and title. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the plot, updating the x-scale via `setInterval`. The data is loaded from a CSV using `d3.csv` and rendered as SVG circles with transitions.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes