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 scatter plot animates through different pairings of the Iris dataset’s four measurements, cycling every two seconds. It reuses a custom `scatterPlot` module that relies on `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`axisBottom` to render axes and circles. The main script imports `csv` from D3 v6 to load the data and updates the plot’s x-value accessor via `setInterval`. Styling uses the Share Tech font, with SVG output filling the viewport.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes