Fork of Fork of Penguin Data set scatter Plot
✓ Published0🌍 Public
This example displays a scatter plot of the Palmer Penguins dataset, mapping flipper length to body mass and coloring each point by species (Adelie, Gentoo, or Chinstrap) with yellow, green, or brown. It uses D3 v5’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load, scale, and render the axes, while appending SVG circles with fixed radius and dynamic fill colors. The visualization also adds rotated and regular text labels for axes and a title, all rendered in an SVG container sized to the full browser window.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed