Fork of activity7, area chart
This fork of activity7 shows a simple area chart that plots fruit weight across ten data points, with x- and y-axes labeled as "Data Point Index" and "Weight" respectively. The visualization encodes a hardcoded dataset containing attributes like weight, diameter, and fruit type for apples, oranges, and bananas. Using D3.js v6, the code defines an SVG container and employs `d3.scaleLinear` for both axes, `d3.area()` to generate the filled path, and `d3.axisBottom`/`d3.axisLeft` for tick rendering. The area is filled with a steelblue color, and the chart includes axis labels for clarity.