Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
NNavaneeth-Ragi
Last edited Mar 12, 2023
Created on Mar 12, 2023

This fork of the reusable D3 scatter plot visualizes the Iris Dataset, cycling through four attribute combinations every two seconds to show different projections of the data. The plot uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and render axes, while SVG circles represent each flower. The code demonstrates a modular chart design with configurable accessor functions, enabling dynamic updates to the x-axis variable without redrawing the entire visualization.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes