Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial 3.2 Scatter Plot with Shape Aadesh

Public visualization

Viewing a saved revision (read-only)

fa750265a1d8448aad8b1adc7870a19b

Tutorial 3.2 Scatter Plot with Shape Aadesh

0 stars0🌍 Public
Aaadesh.pranesh@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024

This scatter plot visualizes the Iris dataset, showing the relationship between sepal length and petal length for three species, distinguished by shape. The plot uses D3.js v7 with `scaleLinear` and `scaleOrdinal` to map data to positions and symbolic shapes from `symbolsFill`. A shape legend displays each species. Data is loaded from a remote CSV file and parsed with `csvParse`, with the axes and legend created using D3's `axisLeft`, `axisBottom`, and custom shape legend components.

AI-generated description