Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question3

Public visualization

Viewing a saved revision (read-only)

80e86aa1b488430fb67ddf8f7f8fb4dc

Activity6_Question3

0 stars0🌍 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