Skip to main content
100%

Penguin Dataset Scatter Plot (with Shapes)

✓ Published0🌍 Public
Hhimavinaytummala@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024

This example displays a scatter plot of penguin measurements, mapping flipper length and body mass while encoding species identity through distinct marker shapes. The visualization uses D3 v5 API functions like `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, scale axes, and render SVG paths. Three species—Adelie, Gentoo, and Chinstrap—appear as circles, crosses, and triangles, respectively, with all points filled in steelblue. The dataset is fetched from a GitHub-hosted CSV file, and the chart fills the browser viewport.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes