question-3
✓ Published0🌍 Public
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.
MIT Licensed