Skip to main content
100%

Penguins Dataset Scatter plot

✓ Published1🌍 Public
Ddheeraj1509
Last edited Mar 8, 2023
Created on Mar 6, 2023
Forked from HTML Starter

This scatter plot visualizes the Palmer Penguins dataset, mapping flipper length on the x-axis and body mass on the y-axis, with each circle colored by species (Adelie, Gentoo, or Chinstrap). The D3.js v5 code loads CSV data via `d3.csv`, parses numeric fields, and uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes. Circles are positioned via `attr` and colored using a custom switch function. Axis labels and a title are added as SVG text elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes