Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Scatter Plot with Shape

Public visualization

Activity 7 Scatter Plot with Shape

0 stars0🌍 Public
Mmandadi1999
Last edited Jul 17, 2023
Created on Jul 17, 2023

This scatter plot displays sepal length versus petal length for iris flowers, using distinct shapes to encode the species of each sample. Data is loaded from a remote CSV file and parsed with `d3.csvParse`. The visualization is built with D3 v7, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` to map species to symbols, and `d3.symbol` to generate the shape paths. A legend is rendered manually to identify each species shape.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed