Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_Task3_Tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

663b3226540f4e42a5fa25abf6681237

Fork of Activity6_Task3_Tutorial 3.2

0 stars0🌍 Public
Nnavyabade05@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025

This interactive scatter plot visualizes the Iris dataset, mapping sepal length against petal length and using distinct symbols to represent the three iris species. The D3.js v7 code builds the visualization entirely with modular functions, including `scaleLinear` and `scaleOrdinal` for scales, `symbol` for generating shapes, and `csvParse` to load the data from a GitHub-hosted CSV file. Axis and shape legend components are rendered via `axisLeft`, `axisBottom`, and custom legend logic, with the chart redrawing responsively to the full window size.

AI-generated description