🌍 Public
Viewing a saved revision (read-only)
e78a6717800046678132c3b4c70b2654
Activity6_Question3
This scatter plot visualizes the penguins dataset, showing the relationship between bill length and bill depth for three species (Adelie, Chinstrap, and Gentoo), with each species represented by a distinct color. The plot uses D3 v6, loading data from a CSV file via `d3.csv`, and renders circles as SVG elements with `d3.select` and `d3.scaleLinear` for mapping data to coordinates. Axis labels are added using `d3.axisLeft` and `d3.axisBottom`, and the visualization fills the browser window with a dynamic width and height.
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.