Skip to main content
100%

Fork of Penguin Data set scatter Plot

✓ Published1🌍 Public
Kkriswilson00000@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024

This example displays a scatter plot of penguin measurements, mapping flipper length to the x-axis and body mass to the y-axis, with point color indicating species. It also encodes bill length and depth as circle radius properties (`rx`, `ry`), creating elliptical markers. The visualization loads CSV data using `d3.csv`, scales axes with `scaleLinear`, and renders via SVG circles and axes. The code uses `axisLeft`, `axisBottom`, `extent`, and `select` to construct the chart, with data parsed from a GitHub-hosted penguin dataset. Axis labels and a title are added as SVG text elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes