Q3
✓ Published0🌍 Public
This scatter plot visualizes the Palmer Penguins dataset, showing the relationship between bill length and bill depth, with points colored by species (Adelie, Gentoo, or Chinstrap). Using D3 v6, the code loads data via `d3.csv`, creates linear scales with `scaleLinear`, and renders circles with SVG. Axis labels use `axisLeft` and `axisBottom`, while the plot’s margins and labels are set manually, with text styled via CSS. The visualization adapts to the browser window’s dimensions for full-screen display.
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