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 on the x-axis, body mass on the y-axis, and coloring each species (Adelie, Gentoo, Chinstrap) differently. The code uses D3 v6 with `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to fetch data and render SVG circles. Although the marks are drawn as circles, the code sets `rx` and `ry` attributes on them, which are not valid circle properties. The visualization includes custom axes, axis labels, and a title.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed