Skip to main content
100%

ICE-6:TAsk-2_Penguin Data set scatter Plot-srinivas

✓ Published0🌍 Public
Ssrinivasaraosankula
Last edited Mar 6, 2023
Created on Mar 6, 2023

This example visualizes the Palmer Penguins dataset as a scatter plot, mapping flipper length to the x-axis and body mass to the y-axis. Each of the 333 data points is colored by penguin species (Adelie, Gentoo, or Chinstrap) using red, orange, or blue markers. The code uses D3 v5 methods `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load the data, scale the coordinates, and render axes with SVG circles. Two additional text labels annotate the axes while a title labels the chart.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes