Penguin Dataset Scatter Plot (with Shapes)
✓ Published0🌍 Public
This example displays a scatter plot of penguin measurements, mapping flipper length and body mass while encoding species identity through distinct marker shapes. The visualization uses D3 v5 API functions like `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, scale axes, and render SVG paths. Three species—Adelie, Gentoo, and Chinstrap—appear as circles, crosses, and triangles, respectively, with all points filled in steelblue. The dataset is fetched from a GitHub-hosted CSV file, and the chart fills the browser viewport.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed