Skip to main content
100%

Fork of ICE-7 Reusable Scatter Plot

✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 12, 2023
Created on Mar 12, 2023

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes