🌍 Public
Viewing a saved revision (read-only)
e434457a88f34ddea590529e6718c3ec
11697708 Assignment-2_Question-2
This area chart visualizes the relationship between age and weight, with age on the x-axis and weight in kilograms on the y-axis, showing a blue filled area beneath the line. The chart uses a title, axis labels, and a sorted dataset to display the trend clearly. The code loads tabular data from a GitHub gist, parses it with `d3.csvParse`, and builds the visualization using D3 v7's `d3.area` generator, `d3.scaleLinear` for scaling, and `d3.axisBottom` and `d3.axisLeft` for the axes, all rendered as SVG elements.
AI-generated description