Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

11697708 Assignment-2_Question-2

Public visualization

11697708 Assignment-2_Question-2

0 stars0🌍 Public
PPavan Nimmagadda
Last edited Apr 13, 2024
Created on Apr 13, 2024

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

Comments

Sign in to join the discussion.

MIT Licensed