🌍 Public
Viewing a saved revision (read-only)
10dc7dcd51d14e63929ca3a575f6bd3e
Penguin Data set scatter Plot
This scatter plot visualizes the Palmer Penguins dataset, showing flipper length on the x-axis against body mass on the y-axis, with each point colored by species (Adelie, Gentoo, or Chinstrap). The code uses D3 v5’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the quantitative fields, while circles are rendered via SVG with hardcoded colors. Axis labels and a title are added as text elements, and the visualization fills the browser window using `window.innerWidth` and `innerHeight`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.