Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE6_Gayathri_ScatterPlot

Public visualization

Viewing a saved revision (read-only)

60b4d3a5a5564c95a27414bcc0e3b894

ICE6_Gayathri_ScatterPlot

0 stars0🌍 Public
Ggayathrisaxena23@gmail.com
Last edited Mar 9, 2026
Created on Mar 9, 2026
Forked from React & D3 Starter

This scatter plot visualizes the Iris flower dataset by plotting petal length against sepal length, with each flower represented by a purple, semi-transparent circle. The SVG visualization uses D3 v7’s `scaleLinear` to map the data values to coordinates along the x- and y-axes, which are labeled with the corresponding measurement names. The code fetches the CSV data from a GitHub gist via `d3.csv`, then appends the circles and axis text directly to the SVG element using D3’s selection and layout methods.

AI-generated description