π Public
Area chart assignment 2
An area chart visualizes the relationship between age and weight, with the area beneath the curve filled in steel blue. The chart uses D3.js v7 to fetch CSV data from a GitHub gist, parse it, and render an SVG. It employs `d3.scaleLinear` for both axes, a `d3.area` generator to create the path, and `d3.axisBottom` and `d3.axisLeft` for the axes with labels. The title and axis labels are added as SVG text elements.
AI-generated descriptionA responsive scatter plot.
MIT Licensed
Comments
Sign in to join the discussion.