🌍 Public
Viewing a saved revision (read-only)
d4b8e3f4f06d4317bff260911cb2f3ec
q3_satish
This D3.js v6 scatter plot visualizes a bird dataset by plotting Weight on the x-axis and Height on the y-axis. Each circle is colored according to the species, with a switch statement mapping species names to colors. The chart loads CSV data via the `d3.csv` promise, uses `scaleLinear` and `extent` to set the scales, and renders axis labels with custom styling. The SVG is sized to the full browser window, and the data is fetched from a GitHub raw URL.
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.