Activity6_Question3_6
✓ Published0🌍 Public
A scatter plot visualizes bill length against bill depth for penguin species, with color encoding species identity and a corresponding legend. The D3 v7 example loads the penguins CSV from a GitHub repository, parses it with `d3.csvParse`, and renders circles using `d3.select` joins. It builds linear scales via `d3.scaleLinear`, axes with `d3.axisBottom` and `d3.axisLeft`, and uses `d3.scaleOrdinal` with `d3.schemeCategory10` for colors.
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