🌍 Public
Viewing a saved revision (read-only)
385a269e72e44b8db5095027b330b50a
Tutorial 3.2
This scatter plot shows the relationship between sepal length and petal length for three iris species, with each species represented by a distinct symbol shape and color. The visualization uses D3’s scaleLinear, scaleOrdinal, and axis utilities to position marks and render labeled axes. A shape legend, built with the d3.symbol API, identifies species symbols. The data is loaded from a remote CSV, parsed with csvParse, and rendered on an SVG canvas. The example demonstrates custom reusable components for axes and legends using the select and join pattern.
AI-generated description