tutorial 3.2
✓ Published0🌍 Public
This example shows a scatter plot of iris flower measurements, mapping sepal length against petal length and using different shapes to distinguish species. It loads the dataset from a remote CSV file and renders the chart using D3 v7. The code builds the visualization with a compositional approach, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` for shape encoding, and custom modules for drawing axes and a shape legend. The chart updates declaratively via D3's `selection.join` operations.
AI-generated descriptionMIT Licensed