Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Cchengalvasharanya@gmail.com
Last edited Oct 24, 2025
Created on Oct 24, 2025

This example shows an animated scatter plot of the Iris dataset, cycling through different flower measurements on the x-axis every two seconds. The visualization uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` within a custom reusable `scatterPlot` function, rendering SVG circles with `selectAll` and `join`. Data loads from a CSV via `d3.csv`, with axes updating dynamically through repeated `svg.call(plot)` invocations.

AI-generated description
MIT Licensed

Similar vizzes