🌍 Public
Viewing a saved revision (read-only)
36e04e8d60cf4a4081b9d132d40f7ade
Activty6_task3_question1
This scatter plot visualizes the relationship between flipper length and body mass for three penguin species, with different symbol shapes representing each species. The visualization uses D3 v7's scaleLinear, scaleOrdinal, and symbolsFill APIs to map data values to positions and shapes. The code loads CSV data via a fetch request to a GitHub Gist, then parses it with csvParse. Axes are rendered using axisLeft and axisBottom, while a custom legend with shape symbols appears in the upper right corner.
AI-generated description