Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 3.2

Public visualization

Viewing a saved revision (read-only)

44e22dba89a94c7bad68da71338586aa

Activity 6 Task 3.2

0 stars0🌍 Public
Rrahulnathmukkolla@gmail.com
Last edited Apr 1, 2024
Created on Apr 1, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis while encoding species through distinct symbol shapes. The visualization uses D3 v7’s `scaleLinear`, `scaleOrdinal`, and `symbol` APIs to render marks and a custom shape legend. Data is loaded asynchronously from a GitHub-hosted CSV file using `d3.csvParse`, with axis labels generated via reusable `axisLeft` and `axisBottom` functions. Each point is drawn as a `path` element, and the legend displays the three species categories.

AI-generated description