Activity-6_Question-3
✓ Published1🌍 Public
This scatter plot visualizes penguin species data, displaying flipper length against body mass for individual penguins, with each species represented by a distinct color (red for Adelie, blue for Gentoo, black for other). It uses D3 v5 loaded via UNPKG, reading a CSV file and mapping data to SVG circles. The code creates custom axes with D3's scaleLinear, axisLeft, and axisBottom functions, and adds labels to clarify the chart’s dimensions.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed