Skip to main content
100%

ICE-6-Q2

✓ Published0🌍 Public
Hhossaphul
Last edited Mar 24, 2023
Created on Mar 11, 2023

This scatter plot from the d3.v5 library visualizes the relationship between flipper length and body mass for three penguin species, using a circle glyph per data point. The SVG chart distinctly encodes species (Adelie, Gentoo, Chinstrap) with a `d3.scaleOrdinal` color scale applied to steelblue, green, and brown fills. The code builds an axis-bottom and axis-left from `d3.scaleLinear`, with the data fetched from a CSV URL. Circle opacity is set in the stylesheet to 0.6, revealing overlapping points.

AI-generated description

This is a scatter plot of "Penguin.csv" dataset with flipper lenth in x-axis and body mass in y-axis. I have three different colors for 3 species. Adelie, Gentoo, and Chinstrap are represented by steelblue, green, and bown color respectively.

MIT Licensed

Similar vizzes