Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_Task-3.1

Public visualization

Activity-6_Task-3.1

0 stars1🌍 Public
Aabdul.khader2899@gmail.com
Last edited Apr 5, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example displays a scatter plot of the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with points colored by species. The visualization uses D3 v6 APIs including `d3.csv`, `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`d3.axisBottom`. Data is loaded from a remote CSV, and each point is rendered as an SVG circle positioned through the scales, with species-specific fill colors from a switch statement. Axis labels are added via appended SVG text elements.

AI-generated description

An example showing scatter plot with points

Comments

Sign in to join the discussion.

MIT Licensed