Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3-2

Public visualization

Viewing a saved revision (read-only)

cef9437b8c7b4692b70ea352dff8a74d

Activity6_Task3-2

0 stars0🌍 Public
Aayeshamanzoor111798@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This scatter plot visualizes Iris flower measurements, mapping sepal length to the x-axis and petal length to the y-axis. Each flower is rendered as a D3 symbol, with species distinguished by distinct shapes (circles, crosses, and diamonds) via d3.scaleOrdinal and d3.symbolsFill. The visualization includes labeled axes and a custom shape legend, with data fetched from a remote CSV file and parsed using d3.csvParse. The code uses d3.scaleLinear for positioning and d3.axisLeft/axisBottom for tick rendering.

AI-generated description