Skip to main content
100%

Scatter Plot for Penguin Dataset

✓ Published0🌍 Public
SSUSHMA CHIRRA
Last edited Mar 24, 2023
Created on Mar 23, 2023

This visualization shows a scatter plot of the Palmer Penguins dataset, plotting culmen length against culmen depth for individual penguins. Each point is colored by species—pink for Adelie, blue for Chinstrap, and green for Gentoo—using a custom marker function. The D3 v6 code loads the CSV data via `d3.csv`, applies scales with `scaleLinear` and `extent`, and renders circles as SVG elements with `selectAll().data().join()`. Axes are generated with `axisLeft` and `axisBottom`, while labels describe flipper length and body mass, though the plot itself displays only the two culmen measurements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes