Skip to main content
100%

Activity6_Question3

✓ Published0🌍 Public
LLakshanya Sirigiri
Last edited Apr 6, 2025
Created on Apr 6, 2025

This scatter plot visualizes the relationship between bill length and bill depth for three penguin species, using the Palmer Penguins dataset loaded via d3.csv. It renders an SVG chart with d3.scaleLinear axes, d3.axisBottom and d3.axisLeft, and colors each point by species using d3.scaleOrdinal with a custom purple, teal, and crimson palette. A legend is appended using SVG rectangles and text. The plot filters missing values and maps numeric fields before drawing circles with 0.7 opacity.

AI-generated description
MIT Licensed

Similar vizzes