Activity-6 Question-3
✓ Published0🌍 Public
A scatter plot visualizes an animal dataset, coloring points by species (Mammals, Birds, Fish, Invertebrates) with distinct hues. The chart maps leg length on the x-axis and leg width on the y-axis, while also encoding body dimensions through circle radii via rx/ry attributes. Using D3 v6, the code loads CSV data from a GitHub raw URL and employs `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes within an SVG rendered across the full viewport.
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