🌍 Public
Viewing a saved revision (read-only)
2781279674d446b39c3c5806704fdef0
Assignment-2_Question-2
This area chart visualizes the relationship between age and weight using a green filled path. The data is loaded from a remote CSV file via `d3.text` and parsed with `d3.csvParse`, then sorted by age. The chart uses `d3.scaleLinear`, `d3.extent`, `d3.area`, `d3.axisBottom`, and `d3.axisLeft` to build the SVG rendering, with axes labeled "Age" and "Weight (kg)" and a title. The visualization employs a standard margin-based layout with a 600×400 SVG canvas.
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.