Skip to main content
100%

Assignment2 Question2

✓ Published0🌍 Public
Ppslharika@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This area chart visualizes the relationship between age and weight using a steel blue filled region beneath a line path. The visualization loads CSV data from an external GitHub URL and renders it as an SVG, with age plotted on the x-axis and weight on the y-axis. The code uses d3.csvParse to process the data, d3.scaleLinear for both axes, and d3.area to generate the chart’s filled shape. Axis labels and a chart title clarify the variables, while the data is sorted by age before rendering to ensure a coherent curve.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes