Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Penguin Data set scatter Plot

Public visualization

Fork of Penguin Data set scatter Plot

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed