🌍 Public
Viewing a saved revision (read-only)
3b67a7a9ca8f4d9bb7e051a362466308
Task8_Question3
This visualization displays the relationship between bill length and bill depth for penguin species using a scatter plot. The plot distinguishes species through different marker shapes, with a legend explaining the shape-species mapping. The code uses D3 v7 with `d3.csvParse` to load penguin data from a GitHub-hosted CSV file, `d3.scaleLinear` for the axes, `d3.scaleOrdinal` and `d3.symbol` for shape encoding, and custom axis and legend modules. The visualization updates dynamically as data loads asynchronously.
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.