Fork of scatter plot
✓ Published1🌍 Public
This scatter plot displays the relationship between flipper length and body mass for three penguin species, with each point colored by species (skyblue for Adelie, red for Gentoo, and black for Chinstrap). It also encodes additional variables by setting the SVG circle radii and dimensions using bill length and depth, though these attributes are applied to the circle’s rx and ry properties rather than affecting visual size. The chart uses d3.csv to load the penguin dataset, d3.scaleLinear for both axes, and renders via SVG circles with axis labels and a title. Axes are generated with d3.axisLeft and d3.axisBottom, while the data parsing converts numeric fields on load.
AI-generated descriptionMIT Licensed