Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-3

Public visualization

Viewing a saved revision (read-only)

e4118e0001c04f97be927e687e7650af

Task-3

0 stars0🌍 Public
Mmoulidomar@hotmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example visualizes the classic Iris dataset as a scatter plot of sepal length against petal length, with points colored by shape according to species. It uses a D3 v7 ordinal scale with `symbolsFill` to assign distinct shapes to each species, and includes a custom shape legend generated with D3’s `symbol` generator. The axes are rendered via D3’s `axisLeft` and `axisBottom`, while the data is loaded asynchronously from a CSV file and parsed with `csvParse`. The visualization adapts to the full browser window size.

AI-generated description