Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 3.2

Public visualization

Viewing a saved revision (read-only)

dfbe5123333d4273be83f23023837721

Activity 6_Task 3.2

0 stars0🌍 Public
SSrihith Reddy Gaddam
Last edited Apr 27, 2025
Created on Apr 27, 2025

This interactive scatter plot visualizes the relationship between sepal length (x-axis) and petal length (y-axis) for 150 iris flowers, using distinct shapes to differentiate the three iris species. The visualization employs D3’s `scaleLinear` for continuous axes, `scaleOrdinal` with `symbolsFill` to map species to shapes, and custom axes and legend modules. It uses D3’s `csvParse` to load the Iris dataset, and the `symbol` API generates the scatter plot markers and legend symbols. The rendering is implemented with D3’s join pattern to efficiently create and update SVG elements.

AI-generated description