Activity6-Question3
✓ Published0🌍 Public
This scatter plot visualizes the Palmer Penguins dataset, showing bill length on the x-axis and bill depth on the y-axis, with each point colored by penguin species (Adelie, Chinstrap, or Gentoo). The D3 v6 code loads CSV data via `d3.csv`, uses `scaleLinear` and `extent` for scales, and renders SVG circles with a fixed radius. Axis labels are added using `axisLeft` and `axisBottom`, while text elements annotate the axes. The visualization fills the browser window and applies species-based color mapping through a custom marker function.
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