Skip to main content
100%

activity7.1 question2 area chart

✓ Published1🌍 Public
Ssahithitoomu@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes