Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 3.2_Question

Public visualization

Viewing a saved revision (read-only)

fcbc7f09d6174022aaaa40d70383834c

Activity 6_Task 3.2_Question

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

This scatter plot displays the relationship between culmen length and culmen depth in the Palmer Penguins dataset, with each species represented by a distinct symbol from `d3.symbolsFill`. The code loads the data via `fetch` and `csvParse`, then uses `d3.scaleLinear` for axes and `d3.scaleOrdinal` for shape mapping, while `shapeLegend` renders a custom legend. Axes are generated with `axisLeft` and `axisBottom`, and all marks are drawn using `symbolGenerator.type().size()` within `d3.selectAll('path.mark')`.

AI-generated description