dataq2
✓ Published0🌍 Public
This example shows a monthly sales area chart rendered as an SVG, with labeled x- and y-axes. It uses D3 v6 `scaleBand` and `scaleLinear` to map months and sales values, while `d3.area` generates the filled path from the provided dataset. Axis labels are drawn manually as SVG text elements, and the chart is embedded directly in the HTML page without a separate data-loading step.
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