🌍 Public
Viewing a saved revision (read-only)
58b3501ac0b842a6840060ba1ef85b23
question-3
This example visualizes a scatter plot of height and weight data, with points colored by category using skyblue, lightgreen, and orange. The SVG rendering uses D3 v7 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the data to axes and draw circles. The code loads data from a GitHub Gist URL and applies a custom parsing function to convert numeric fields. Axis labels are styled with green Times New Roman text, and the plot fills the browser window.
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.