Skip to main content
100%

Fork of Penguin Data set scatter Plot

✓ Published0🌍 Public
SSaiipriiya
Last edited Mar 6, 2023
Created on Mar 6, 2023

This fork visualizes the Palmer Penguins dataset as an SVG scatter plot, mapping flipper length to the x-axis and body mass to the y-axis. Circles are colored by species (yellow for Adelie, green for Gentoo, brown for Chinstrap) using a custom `marker` function. The code uses D3 v5 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `selectAll().join()`. Data is loaded from a remote CSV URL with numeric parsing for measured traits, and the visualization fills the browser window with margins and a title.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes