Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.2

Public visualization

Activity6_Task3.2

0 stars0🌍 Public
CCodeNinja
Last edited Oct 22, 2024
Created on Oct 22, 2024

This scatter plot shows the relationship between sepal length and petal length for Iris flowers, with species distinguished by shape. It uses d3.scaleLinear for the x and y axes, d3.scaleOrdinal with d3.symbolsFill for shape encoding, and d3.axisBottom and d3.axisLeft for labeled axes. The shape legend is rendered via a custom legend function using d3.symbol. Data is loaded from a remote CSV and parsed with d3.csvParse. The visualization is built using d3.v7’s join method for incremental updates.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed