Skip to main content
100%

Activity6_Tutorial3.2

✓ Published0🌍 Public
Vvarmanithish5@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This example shows a scatter plot of the Iris dataset, mapping sepal length against petal length and using distinct symbol shapes to encode the species of each flower. A custom legend explains the shape-to-species mapping, with axes labeled accordingly. The visualization is built with D3 v7, using `scaleLinear` for the x and y positions and `scaleOrdinal` with `symbolsFill` for the categorical shapes. Data is loaded remotely as CSV and parsed with `csvParse`, while the chart, axes, and legend are composed from modular functions that manipulate SVG selections.

AI-generated description
MIT Licensed

Similar vizzes