Area Chart
✓ Published0🌍 Public
This area chart displays sales data from 2000 to 2023, with the year on the x-axis and sales figures on the y-axis. The chart is rendered as an SVG using D3 v5, loading data from a CSV file hosted on GitHub. The visualization uses `d3.scaleTime` and `d3.scaleLinear` for axes, along with `d3.line` and `d3.area` generators with `curveBasis` to create smooth lines and the shaded region beneath. Axis labels are styled with orange, and gridlines are generated via axis tick marks.
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