🌍 Public
Penguin Scatter Plot
This scatter plot visualizes the relationship between flipper length and body mass for different penguin species, with each point colored by species using D3’s ordinal scale and the category-10 palette. The plot uses D3’s scaleLinear, extent, and axisBottom/axisLeft to construct the axes and scales, while the data is read from a remote CSV file via d3.csv. SVG circles are placed through a join operation, with labels appended as text elements for both axes.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.