Fork of area chart
✓ Published0🌍 Public
This area chart visualizes a dataset loaded from a CSV file, showing the relationship between a numeric Year and Value. The chart is rendered as an SVG using D3 v7, with a linear x-scale for years and a y-scale for values. The code uses `d3.csv` to fetch data, `d3.scaleLinear` for axes, and `d3.area` to create the filled region. Axis labels are added via `d3.axisBottom` and `d3.axisLeft`.
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