Skip to main content
100%

Penguin Data set scatter Plot

✓ Published0🌍 Public
SSomu1433
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from D3 Starter

This scatter plot visualizes the Palmer Penguins dataset, showing flipper length on the x-axis and body mass on the y-axis, with each circle colored by species (Adelie, Gentoo, or Chinstrap). It also encodes bill length and bill depth as the circle’s `rx` and `ry` attributes, though these do not affect the circular shape since `r` is fixed. The code uses D3 v5 APIs (`csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`) to load data from a gist URL, scales the coordinates, and renders an SVG with circles and labeled axes.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes