Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

b9c277e90ac84490a91b4408dcfeac73

tutorial 3.2

0 stars0🌍 Public
VVrushikaKanaparthy@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 23, 2024

This example shows an interactive scatter plot of the Iris dataset, comparing sepal length against petal length, with each of the three species distinguished by a unique symbol shape via a custom legend. The visualization is built with D3 v7, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` and `d3.symbolsFill` to map species to symbols, and `d3.csvParse` to load and parse the remote CSV data. Custom modules handle axis rendering and legend construction, with the chart filling the entire viewport.

AI-generated description