Activity_7_2
✓ Published0🌍 Public
This example displays an area chart of monthly sales data, using a steel blue filled path to show the trend across categories. It loads data from a CSV file hosted on GitHub and renders the visualization as an SVG. The code uses D3.v7’s `scaleBand`, `scaleLinear`, `area` generator, and axis functions to construct the plot, including an axis label for months and sales, plus a simple legend indicating the series.
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