Skip to main content
100%

Fork of Reusable D3 Scatter Plot.

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

This interactive scatter plot displays the Iris dataset, using colored circles to represent three species. The visualization iterates through four flower measurements, changing the x-axis variable every few seconds while keeping petal width on the y-axis. Built with D3 v6, the example uses `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes, while a `setInterval` callback updates the data bindings. The reusable `scatterPlot` module manages the chart’s dimensions, margins, and scales, and the SVG circles are colored green, brown, and magenta based on species.

AI-generated description
MIT Licensed

Similar vizzes