Skip to main content
100%

ICE6 - Q2: Scatter Plot for Penguin Dataset

✓ Published0🌍 Public
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 description

CSCE 5320 ICE-6 Scatter Plot HTML page demonstrating use of CSS and JavaScript.

MIT Licensed

Similar vizzes