🌍 Public
Viewing a saved revision (read-only)
5cd5021d8f0b440fbb49a0e7d5a9d20b
Fork of Penguin Data set scatter Plot
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.