Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 Tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

f097e77b5cb14567b1c24f3261b913fa

Activity6 Tutorial 3.2

0 stars0🌍 Public
Nnissisharon61@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This scatter plot visualizes the Iris dataset, mapping sepal length against petal length. The visualization encodes the species of each iris flower using different shape markers, with a legend positioned on the right side. The code uses d3.scaleLinear for axes, d3.scaleOrdinal with d3.symbolsFill for shape encoding, and d3.axisLeft and d3.axisBottom for axis rendering. Data is loaded asynchronously via CSV fetch and parsed with d3.csvParse before being displayed.

AI-generated description