Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-7 Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

25bb9fbd6d6845a29ea0a786010e3291

Fork of ICE-7 Reusable Scatter Plot

0 stars0🌍 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.