Skip to main content
100%

Fork of Reusable D3 Scatter Plot with Symbols

✓ Published0🌍 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
MIT Licensed

Similar vizzes