Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published2🌍 Public
KKerim
Last edited Nov 14, 2022
Created on Oct 7, 2022

This interactive scatter plot uses the classic Iris dataset to explore relationships between flower measurements, dynamically cycling through different attribute combinations every two seconds. Built with D3.js v6, the visualization leverages reusable chart components like `scaleLinear`, `axisLeft`, and `axisBottom` to render axes and circles via an SVG. The code demonstrates the utility of the `join` pattern for idempotent updates, allowing the plot to smoothly transition between four variable pairings while maintaining consistent margins, radius, and styling.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes