Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6_task 3.2

Public visualization

Viewing a saved revision (read-only)

a82b3f07df934d10baa25bb7194fe813

Fork of Activity 6_task 3.2

0 stars1🌍 Public
KKarnam Abinay Goud
Last edited Oct 20, 2024
Created on Oct 20, 2024

This scatter plot visualizes the Iris dataset, showing sepal length against petal length with points colored by species. The chart uses D3 v7’s `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` to assign distinct shapes to each species, and a custom legend to map shapes to species names. Data is loaded from a remote CSV via `fetch` and parsed with `d3.csvParse`, with numeric fields coerced to numbers. The visualization updates reactively through a simple state management pattern, re-rendering the SVG on data arrival.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.