Skip to main content
100%

Activity 8_Q3.6

✓ Published0🌍 Public
UUthkarsh Reddy Junuthula
Last edited Apr 11, 2024
Created on Apr 11, 2024

This scatter plot visualizes the Palmer Penguins dataset, showing the relationship between flipper length and body mass for three penguin species, with each species represented by a distinct color. The code uses D3 v6 to load the CSV data, then applies `scaleLinear` and `extent` functions to map the data to SVG circle positions. Axes are rendered using `axisBottom` and `axisLeft`, while a legend is constructed with squares to identify species. The visualization fills the browser window and includes custom axis labels and tick styling.

AI-generated description

Scatter plot of the Penguin dataset

MIT Licensed

Similar vizzes