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)

9d9b7979c2dd4135aacfe07c5d438262

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.