Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_3.2

Public visualization

Viewing a saved revision (read-only)

801ccd0221d149449b2983d4aa925aea

Activity-6_3.2

0 stars0🌍 Public
RRISHIK KURIKELLY
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This example shows a scatter plot of sepal length versus petal length for the Iris dataset, with each of the three species encoded by a distinct shape. The visualization uses d3.scaleLinear for the axes, d3.scaleOrdinal and d3.symbol to generate shape-based marks, and includes a custom legend mapping species to symbols. Data is loaded asynchronously from a remote CSV file and parsed with d3.csvParse. The code is built with reusable modules for axes, scatter plot, and legend, all rendered in an SVG using D3 v7.

AI-generated description