Skip to main content
100%

Fork of Fork of iCE - 7 Reusable Scatter Plot

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

This scatter plot animates through four Iris flower measurements (petal width, sepal width, petal length, and sepal length) every two seconds, swapping which variable appears on the x-axis while keeping sepal length on the y-axis. Each point is colored by species (blue, red, or yellow) with white outlines, rendered as SVG circles. The visualization uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `selectAll(...).join(...)` within a reusable `scatterPlot` module. Data comes from a CSV of the classic Iris dataset, loaded via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes