Skip to main content
100%

Fork of Penguin Data set scatter Plot

✓ Published0🌍 Public
SSANEEM MOHAMMAD
Last edited Mar 11, 2023
Created on Mar 11, 2023

This example shows a scatter plot of penguin measurements, mapping flipper length to the x-axis and body mass to the y-axis. Each circle is colored by species (Chinstrap, Gentoo, or Adelie) and also encodes bill length and depth via non-standard `rx` and `ry` attributes. The visualization loads CSV data from a GitHub gist using `d3.csv`, and renders SVG circles with `d3.scaleLinear` scales and `d3.axisLeft`/`d3.axisBottom` axes. The code uses D3 v5 and positions elements based on the browser viewport dimensions.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes