Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 3.1

Public visualization

Viewing a saved revision (read-only)

2eb62fbb4e864e3caa99e21fd2513d2b

Activity 6 task 3.1

0 stars4🌍 Public
Ssagipavan2385@gmail.com
Last edited Apr 4, 2025
Created on Apr 4, 2025

This D3.js scatter plot visualizes the Iris dataset, encoding petal length and petal width along the x- and y-axes while coloring each point by species (setosa, versicolor, virginica) using a custom marker function. The chart uses `d3.csv` to load the external iris.csv file, `d3.scaleLinear` for axes, and `d3.axisLeft`/`d3.axisBottom` for ticks. Each circle is rendered via SVG, with sepal measurements additionally stored as data attributes, and the plot adapts to the full browser window.

AI-generated description