Skip to main content
100%

Fork of Scatterplot for peng bird dataset, in class

✓ Published1🌍 Public
Gg_ivaska@coloradocollege.edu
Last edited Apr 30, 2024
Created on Apr 30, 2024

This scatter plot visualizes penguin data, mapping flipper length to body mass with a point for each bird. The color of each dot encodes the penguin species, using distinct hex colors for Adelie, Chinstrap, and Gentoo penguins. The code loads the data using a Promise from `d3.csv`, parses numeric fields with a row function, and renders the visualization in SVG using `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom`. A tooltip div is prepared but only logs events to the console on mouseover.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes