Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot with Symbols

Public visualization

Fork of Reusable D3 Scatter Plot with Symbols

0 stars0🌍 Public
JJustin Roberts
Last edited Mar 11, 2023
Created on Mar 11, 2023

This scatter plot displays iris flower measurements, mapping petal width against sepal length and encoding species with distinct symbols. It uses a reusable D3 module pattern with `scaleLinear`, `scaleOrdinal`, and D3’s symbol generators to render SVG paths. Data is loaded from a CSV via `d3.csv`, parsed into numeric values, and plotted with axes generated by `axisLeft` and `axisBottom`. The chart fills the viewport and uses a margin-based layout for responsive positioning.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed