Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

0bbebbcd6626482d837ab0f9e890579e

Activity 6 Tutorial 3.2

0 stars0🌍 Public
Ssharanyabobbala@my.unt.edu
Last edited Oct 20, 2024
Created on Oct 20, 2024

This example shows a scatterplot of the Iris flower dataset, plotting sepal length against petal length while encoding species with different point shapes. The visualization includes labeled axes and a shape legend identifying each species. The code uses D3 v7 modules such as `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate the marks, with axes and legend built through reusable functions. Data is loaded asynchronously from a GitHub-hosted CSV and parsed using `csvParse`.

AI-generated description