Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACTIVITY 7 TASK 4

Public visualization

Viewing a saved revision (read-only)

ef1ca99ec91e4938b325136b428f2201

ACTIVITY 7 TASK 4

0 stars0🌍 Public
Ssuryavamsi00024
Last edited Jul 3, 2023
Created on Jul 3, 2023

This example visualizes the iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis. Different species are distinguished through distinct symbol shapes, with a legend identifying each category. The visualization uses d3.csvParse to load and parse the data, then applies d3.scaleLinear for positioning, d3.scaleOrdinal with symbolsFill for shape encoding, and d3.axisLeft and d3.axisBottom for axes. A custom shape legend renders the categorical mapping for species.

AI-generated description