Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_tutorial3.2

Public visualization

Fork of Activity6_tutorial3.2

0 stars0🌍 Public
Yyadlapallisaisathvik@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This visualization displays the classic Iris dataset as a scatter plot, mapping sepal length on the x-axis and petal length on the y-axis. Instead of using colors to differentiate species, the plot encodes species identity through distinct symbol shapes, such as circles, triangles, and crosses, with a corresponding legend at the right. The implementation uses D3.js v7 utilities like `scaleLinear`, `scaleOrdinal`, and `symbolGenerator` to position marks and generate the shape encodings. Data is loaded asynchronously from a remote CSV file and parsed with `csvParse`.

AI-generated description

Above is the scatter plot of same iris dataset but with shapes instead of colors.

Comments

Sign in to join the discussion.

MIT Licensed