Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial3.2

Public visualization

Viewing a saved revision (read-only)

62f7f301183a429d8a7c8cf2ff44a9ab

Activity6_Tutorial3.2

0 stars0🌍 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