acticity 7 2
✓ Published0🌍 Public
This example visualizes monthly airline passenger counts as a filled area chart over time. The chart uses D3.js version 7 to load a CSV dataset from a GitHub repository, parse date strings with `d3.timeParse`, and render an SVG path using the `d3.area` generator. Time-scaled x-axis and linear y-axis are created with `d3.scaleTime` and `d3.scaleLinear`, respectively, while `d3.axisBottom` and `d3.axisLeft` add labeled axes. The area is filled in steel blue, with a title and axis labels included.
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