Activity_6_Q3
✓ Published0🌍 Public
This example shows a scatter plot of penguin bill length versus bill depth, with each point colored by species. It loads a CSV dataset from a GitHub raw URL and uses D3 v7 to render an SVG. The code employs `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, `d3.axisLeft`, and data joins via `selectAll().data().enter()` to create circles, axes, labels, and a legend.
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