Skip to main content
100%

Activity-6_3.2

✓ Published0🌍 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
MIT Licensed

Similar vizzes