Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-3.2

Public visualization

Viewing a saved revision (read-only)

5c34cf134c8c4d15869cb28f0aaa776c

Task-3.2

0 stars1🌍 Public
Sshivakumarganji@my.unt.edu
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This scatter plot displays the relationship between sepal length and petal length for the Iris dataset, with species differentiated by shape. The visualization uses D3 v7's `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` APIs to map data to positions and shapes, while `axisLeft` and `axisBottom` render the axes. A custom `shapeLegend` built with D3's `symbol` generator and tick marks shows the species mapping. Data is loaded via `csvParse` from a remote GitHub-hosted CSV file, and the chart fills the browser window using `window.innerWidth` and `window.innerHeight`.

AI-generated description