Skip to main content
100%

Penguin Data set scatter Plot

✓ Published0🌍 Public
Yyaswanthsen
Last edited Mar 7, 2023
Created on Mar 7, 2023

This scatter plot visualizes the penguin dataset, showing the relationship between flipper length and body mass, with each point colored by species (Adelie, Gentoo, and Chinstrap). The visualization is built using D3 v5 within a React framework, rendering to an SVG canvas that fills the browser window. The code uses `d3.csv` to load the data, `d3.scaleLinear` to map the data values to pixel coordinates, and `d3.axisLeft` and `d3.axisBottom` to draw the axes. The scatter plot also encodes bill dimensions through the circle's `rx` and `ry` attributes, and the chart is labeled with a title and axis labels.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes