Fork of Penguins Dataset Scatter plot
✓ Published0🌍 Public
This example visualizes the Palmer Penguins dataset as a scatter plot, mapping flipper length to the x-axis and body mass to the y-axis, with each point colored by species (Adelie, Gentoo, or Chinstrap). It uses D3 v6 with `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct the scales and axes, while `selectAll`, `data`, and `join` render SVG circles. The code loads data from a CSV URL via `csv` and attempts to set `rx` and `ry` attributes on circles, though the latter references a non-existent property. The visualization fills the browser window and includes a title text element.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed