yasmeen assign 6a
✓ Published0🌍 Public
This visualization displays a scatter plot of penguin species, mapping flipper length and body mass along the axes while coloring each point pink, violet, or green according to species. The code loads a CSV dataset using `d3.csv`, parses numeric fields, and renders SVG circles with `d3.scaleLinear` for positioning, `d3.axisLeft` and `d3.axisBottom` for axes, and `selectAll().join()` to create marks. Axis labels are added as SVG text elements, with a title noting the dataset of penguin measurements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter. This shows the number of different species of penguins in different colors and the dataset used has the penguin numbers.
MIT Licensed