🌍 Public
Viewing a saved revision (read-only)
6dfa34b183374f00bcd72d6742264d9b
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