Skip to main content
100%

Penguin Data set scatter Plot

✓ Published116🌍 Public
CCHANDU BHARGAVI
Last edited Mar 9, 2023
Created on Mar 4, 2023
Forked from HTML Starter

This scatter plot visualizes the Palmer Penguins dataset, showing flipper length on the x-axis against body mass on the y-axis, with each point colored by species (Adelie, Gentoo, or Chinstrap). The code uses D3 v5’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the quantitative fields, while circles are rendered via SVG with hardcoded colors. Axis labels and a title are added as text elements, and the visualization fills the browser window using `window.innerWidth` and `innerHeight`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes