Penguin Data set scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Palmer Penguins dataset, encoding flipper length on the x-axis, body mass on the y-axis, and coloring each point by penguin species. The code uses d3.csv to load the data, d3.scaleLinear and d3.extent to map the quantitative values to pixel coordinates, and d3.axisLeft and d3.axisBottom for the axes. Circles are rendered via SVG with a fixed radius, while additional culmen measurements are stored as attributes on each circle. The visualization fills the browser window using window.innerWidth and innerHeight, with a title and axis labels added as SVG text elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed