Assignment2 question 2
✓ Published0🌍 Public
This example displays a filled area chart that visualizes sales trends over months, using data fetched from a GitHub Gist CSV file. The chart is rendered as an SVG using D3 v7, employing `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the numeric y-axis, and `d3.area` to generate the shaded region. Axis labels for "Sales" and "Month" are added via `d3.axisLeft` and `d3.axisBottom`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed