Skip to main content
100%

Fork of Penguin Data set scatter Plot

✓ Published0🌍 Public
IIndhuKrishnaraj
Last edited Mar 9, 2023
Created on Mar 9, 2023

This scatter plot visualizes the Palmer Penguins dataset, mapping flipper length on the x-axis and body mass on the y-axis, with each point colored by species (Adelie, Gentoo, or Chinstrap). The code uses d3.csv to load the data, d3.scaleLinear for both axes, and renders circles with SVG. It also includes axis labels and a title, with the y-axis rotated via SVG text transformation. The visualization is built with D3 v5 in a React framework, using d3.axisLeft and d3.axisBottom for the axes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes