Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Tutorial 3

Public visualization

Viewing a saved revision (read-only)

f867a145d0684a7b885af37e79f7ecd1

Activity 6 Tutorial 3

0 stars1🌍 Public
Nnikhilapogula@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This chart shows the pairwise relationships between measurements from the classic Iris dataset, plotting petal length against petal width while mapping each flower species to a distinct color (setosa in sky blue, versicolor in light green, and virginica in orange). The visualization loads data from a GitHub-hosted CSV file using d3.csv, then constructs a scatter plot with d3.scaleLinear scales for both axes and positions circles using the d3.select and .join methods. Axis ticks are rendered via d3.axisLeft and d3.axisBottom, with axis labels styled using SVG text elements. The chart fills the browser viewport, setting its SVG dimensions from window.innerWidth and window.innerHeight.

AI-generated description

Scatter Plot of IRIS DATASET