Fork of ICE-7 Reusable Scatter Plot
✓ Published0🌍 Public
This example presents the classic Iris dataset as an interactive scatter plot, visualizing petal width against sepal length with points colored by species. It demonstrates a reusable chart architecture using D3 v6, where a factory function returns a customizable scatter plot configured through method chaining. The plot uses D3 scales, axes, and symbol generators to render SVG paths, with data loaded asynchronously via `d3.csv` from a GitHub Gist. The code highlights modular design patterns for building flexible, reusable visualization components.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed