Activity 8_Q3.6
✓ Published0🌍 Public
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 descriptionScatter plot of the Penguin dataset
MIT Licensed