Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 Tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

7e1ceb9478b346f180db61c064dffa97

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