Fork of Minimal Reusable Charts Pattern
✓ Published1🌍 Public
This interactive scatter plot visualizes the Iris Dataset, allowing users to compare any two of its four measured attributes via dropdown menus for the X and Y axes. The code implements a reusable chart pattern using d3.scaleLinear, d3.extent, and d3.axisBottom/axisLeft, with animated transitions between selections. Each point represents an iris flower, and changes to the axes trigger a smooth 3-second transition that moves existing circles while newly appearing points grow from radius zero. The chart fills the browser window and uses an SVG rendering approach with D3's data join pattern.
AI-generated descriptionA minimal scatter plot of the Iris Dataset using an adaptation of Towards Reusable Charts.
ISC Licensed