Skip to main content
100%

Fork of ICE6 - Q2: Scatter Plot for Penguin Dataset

✓ Published0🌍 Public
Mmanishcheruku
Last edited Mar 10, 2023
Created on Mar 10, 2023

This scatter plot visualizes the Palmer Penguins dataset, showing flipper length on the x-axis and body mass on the y-axis for three penguin species, each color-coded via a custom marker function. It uses D3 v6’s `csv`, `scaleLinear`, and `axisLeft`/`axisBottom` to load and scale the data, rendering circles in SVG with marginal labels. The chart also encodes culmen length and depth as circle attributes `rx` and `ry`, though these do not affect the visible circular marks, which all use a fixed radius. Data comes from an external CSV URL fetched asynchronously.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes