Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

4b8bbddef2f24f2a943d72c19e2a6d89

Activity 6 Tutorial 3.2

0 stars0🌍 Public
RRukmini Devi Y
Last edited Oct 24, 2024
Created on Oct 23, 2024

This scatter plot uses the classic Iris dataset to show the relationship between sepal length and petal length, with different symbols distinguishing the three iris species. The visualization is built using D3.js v7, leveraging `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` to map species to distinct shapes, and a custom shape legend. The code imports specific D3 modules like `axisLeft`, `axisBottom`, and `symbol` to render the plot, while the CSV data is fetched from a GitHub repository and parsed with `csvParse`.

AI-generated description