Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Penguin Data set scatter Plot

Public visualization

Viewing a saved revision (read-only)

e6bb47d2f9a14fa9afe771187c7c8e5d

Fork of Penguin Data set scatter Plot

0 stars0🌍 Public
PPoojaThandra
Last edited Mar 9, 2023
Created on Mar 9, 2023

This example visualizes the Palmer Penguins dataset as a scatter plot, mapping flipper length to body mass for each observation. Each data point is drawn as an ellipse, with its horizontal and vertical radii derived from bill length and bill depth, respectively, and colored by species (Adelie, Gentoo, or Chinstrap). The code uses D3 v5’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, scale axes, and render SVG circles via data joins. Axis labels and a title are appended as SVG text elements.

AI-generated description

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

See also React Starter.