activity7.1 question2 area chart
✓ Published1🌍 Public
This area chart visualizes the weight of different vegetables, using a monotone curve to connect data points across the categorical x-axis. The chart is rendered as an SVG with a steelblue fill, populated with data from a remote CSV file fetched via D3's `csv` function. The visualization applies `scalePoint` and `scaleLinear` scales, `area`, `axisBottom`, and `axisLeft` to construct the plot, with axes labels for "Vegetable" and "Weight (g)" added. The chart fills the browser window and includes a title, leveraging D3 v7's API.
AI-generated descriptionMIT Licensed