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 example visualizes the Iris Dataset as a scatter plot, cycling through different pairings of sepal and petal measurements every two seconds to reveal correlations. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the data to SVG circles, while a reusable chart function encapsulates the rendering logic. The plot animates by updating the x-axis value and re-invoking the chart, with axes and points redrawn dynamically.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes