Skip to main content
Public

Share visualization

Loading preview…

Penguins dataset

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Penguins dataset

1
Ppethavenu
Last edited Mar 11, 2023
Created on Mar 5, 2023

This scatter plot visualizes the Palmer Penguins dataset, mapping flipper length and body mass on the x- and y-axes while encoding species with distinct colors. Each circle’s size also incorporates bill length and depth as visual variables. The code loads CSV data via `d3.csv`, scales positions with `d3.scaleLinear`, and renders circles and axes as SVG using `d3.select` and `d3.axisBottom`/`d3.axisLeft`. Circle radius is fixed at 5 pixels, with species-specific fill colors assigned manually.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed