🌍 Public
Viewing a saved revision (read-only)
5d3af531f3684cd2bc3cb1a200c01b8e
ICE6 - Q2: Scatter Plot for Penguin Dataset
SSharmaAshwini
Last edited Mar 9, 2023
Created on Mar 7, 2023
This scatter plot visualizes the relationship between flipper length and body mass for three penguin species, using color-coded circles to distinguish Adelie, Chinstrap, and Gentoo penguins. The visualization loads a CSV dataset from a GitHub gist and renders an SVG using D3 v6. It employs `d3.csv`, `d3.scaleLinear`, and `d3.extent` to map the quantitative axes, then draws the circles with radii set via `attr('r', radius)` while also assigning elliptical `rx` and `ry` attributes from culmen measurements. Axis labels and a title are added as SVG text elements.
AI-generated descriptionCSCE 5320 ICE-6 Scatter Plot HTML page demonstrating use of CSS and JavaScript.